AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline void SetArn(const Aws::String& value) { m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arn.assign(value); }
51 inline PutRuleGroupsNamespaceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline PutRuleGroupsNamespaceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline PutRuleGroupsNamespaceResult& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline PutRuleGroupsNamespaceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline PutRuleGroupsNamespaceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline PutRuleGroupsNamespaceResult& WithName(const char* value) { SetName(value); return *this;}
68
70
74 inline const RuleGroupsNamespaceStatus& GetStatus() const{ return m_status; }
75 inline void SetStatus(const RuleGroupsNamespaceStatus& value) { m_status = value; }
76 inline void SetStatus(RuleGroupsNamespaceStatus&& value) { m_status = std::move(value); }
77 inline PutRuleGroupsNamespaceResult& WithStatus(const RuleGroupsNamespaceStatus& value) { SetStatus(value); return *this;}
78 inline PutRuleGroupsNamespaceResult& WithStatus(RuleGroupsNamespaceStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
89 inline PutRuleGroupsNamespaceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline PutRuleGroupsNamespaceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
91 inline PutRuleGroupsNamespaceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
92 inline PutRuleGroupsNamespaceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
93 inline PutRuleGroupsNamespaceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline PutRuleGroupsNamespaceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
95 inline PutRuleGroupsNamespaceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
96 inline PutRuleGroupsNamespaceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline PutRuleGroupsNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline PutRuleGroupsNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline PutRuleGroupsNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_arn;
112
113 Aws::String m_name;
114
116
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace PrometheusService
124} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PutRuleGroupsNamespaceResult & WithName(Aws::String &&value)
PutRuleGroupsNamespaceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PutRuleGroupsNamespaceResult & AddTags(const char *key, const char *value)
PutRuleGroupsNamespaceResult & WithRequestId(Aws::String &&value)
PutRuleGroupsNamespaceResult & WithArn(Aws::String &&value)
PutRuleGroupsNamespaceResult & AddTags(const Aws::String &key, const Aws::String &value)
PutRuleGroupsNamespaceResult & WithRequestId(const Aws::String &value)
PutRuleGroupsNamespaceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutRuleGroupsNamespaceResult & WithName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PutRuleGroupsNamespaceResult & AddTags(Aws::String &&key, Aws::String &&value)
PutRuleGroupsNamespaceResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuleGroupsNamespaceResult & WithStatus(RuleGroupsNamespaceStatus &&value)
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuleGroupsNamespaceResult & AddTags(const char *key, Aws::String &&value)
PutRuleGroupsNamespaceResult & WithArn(const char *value)
PutRuleGroupsNamespaceResult & WithArn(const Aws::String &value)
PutRuleGroupsNamespaceResult & AddTags(Aws::String &&key, const char *value)
PutRuleGroupsNamespaceResult & AddTags(const Aws::String &key, Aws::String &&value)
PutRuleGroupsNamespaceResult & WithRequestId(const char *value)
PutRuleGroupsNamespaceResult & WithName(const Aws::String &value)
PutRuleGroupsNamespaceResult & WithStatus(const RuleGroupsNamespaceStatus &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