AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupResult.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/resource-groups/model/Group.h>
9#include <aws/resource-groups/model/ResourceQuery.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/resource-groups/model/GroupConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ResourceGroups
28{
29namespace Model
30{
32 {
33 public:
34 AWS_RESOURCEGROUPS_API CreateGroupResult();
37
38
40
43 inline const Group& GetGroup() const{ return m_group; }
44 inline void SetGroup(const Group& value) { m_group = value; }
45 inline void SetGroup(Group&& value) { m_group = std::move(value); }
46 inline CreateGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;}
47 inline CreateGroupResult& WithGroup(Group&& value) { SetGroup(std::move(value)); return *this;}
49
51
57 inline const ResourceQuery& GetResourceQuery() const{ return m_resourceQuery; }
58 inline void SetResourceQuery(const ResourceQuery& value) { m_resourceQuery = value; }
59 inline void SetResourceQuery(ResourceQuery&& value) { m_resourceQuery = std::move(value); }
60 inline CreateGroupResult& WithResourceQuery(const ResourceQuery& value) { SetResourceQuery(value); return *this;}
61 inline CreateGroupResult& WithResourceQuery(ResourceQuery&& value) { SetResourceQuery(std::move(value)); return *this;}
63
65
68 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
69 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
70 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
71 inline CreateGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
72 inline CreateGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
73 inline CreateGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
74 inline CreateGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
75 inline CreateGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
76 inline CreateGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
77 inline CreateGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
78 inline CreateGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
79 inline CreateGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
81
83
89 inline const GroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; }
90 inline void SetGroupConfiguration(const GroupConfiguration& value) { m_groupConfiguration = value; }
91 inline void SetGroupConfiguration(GroupConfiguration&& value) { m_groupConfiguration = std::move(value); }
93 inline CreateGroupResult& WithGroupConfiguration(GroupConfiguration&& value) { SetGroupConfiguration(std::move(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline CreateGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline CreateGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline CreateGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Group m_group;
109
110 ResourceQuery m_resourceQuery;
111
113
114 GroupConfiguration m_groupConfiguration;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace ResourceGroups
121} // namespace Aws
CreateGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateGroupResult & WithGroupConfiguration(const GroupConfiguration &value)
CreateGroupResult & WithGroupConfiguration(GroupConfiguration &&value)
const GroupConfiguration & GetGroupConfiguration() const
CreateGroupResult & WithResourceQuery(const ResourceQuery &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateGroupResult & WithGroup(Group &&value)
CreateGroupResult & WithRequestId(const char *value)
void SetResourceQuery(const ResourceQuery &value)
void SetRequestId(const Aws::String &value)
AWS_RESOURCEGROUPS_API CreateGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGroupResult & AddTags(Aws::String &&key, const char *value)
void SetGroupConfiguration(const GroupConfiguration &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_RESOURCEGROUPS_API CreateGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateGroupResult & WithResourceQuery(ResourceQuery &&value)
const ResourceQuery & GetResourceQuery() const
CreateGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGroupResult & AddTags(const char *key, Aws::String &&value)
CreateGroupResult & WithRequestId(Aws::String &&value)
CreateGroupResult & WithGroup(const Group &value)
CreateGroupResult & WithRequestId(const Aws::String &value)
CreateGroupResult & AddTags(const char *key, const char *value)
void SetGroupConfiguration(GroupConfiguration &&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