AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutRuleGroupsNamespaceResult.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/amp/model/RuleGroupsNamespaceStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PrometheusService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult() = default;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 PutRuleGroupsNamespaceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 PutRuleGroupsNamespaceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
70 inline const RuleGroupsNamespaceStatus& GetStatus() const { return m_status; }
71 template<typename StatusT = RuleGroupsNamespaceStatus>
72 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
73 template<typename StatusT = RuleGroupsNamespaceStatus>
74 PutRuleGroupsNamespaceResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
84 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 PutRuleGroupsNamespaceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
86 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
87 PutRuleGroupsNamespaceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
88 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
89 }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 PutRuleGroupsNamespaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_arn;
103 bool m_arnHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
109 bool m_statusHasBeenSet = false;
110
112 bool m_tagsHasBeenSet = false;
113
114 Aws::String m_requestId;
115 bool m_requestIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace PrometheusService
120} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutRuleGroupsNamespaceResult & WithRequestId(RequestIdT &&value)
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult()=default
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuleGroupsNamespaceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue