AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ivschat/model/DestinationConfiguration.h>
11#include <aws/ivschat/model/CreateLoggingConfigurationState.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 ivschat
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline CreateLoggingConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline CreateLoggingConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline CreateLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
58 inline const Aws::String& GetId() const{ return m_id; }
59 inline void SetId(const Aws::String& value) { m_id = value; }
60 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
61 inline void SetId(const char* value) { m_id.assign(value); }
62 inline CreateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline CreateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline CreateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
73 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
74 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
76 inline CreateLoggingConfigurationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
85 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
86 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
88 inline CreateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const{ return m_name; }
96 inline void SetName(const Aws::String& value) { m_name = value; }
97 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
98 inline void SetName(const char* value) { m_name.assign(value); }
99 inline CreateLoggingConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline CreateLoggingConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline CreateLoggingConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
103
105
111 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
112 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; }
113 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); }
117
119
123 inline const CreateLoggingConfigurationState& GetState() const{ return m_state; }
124 inline void SetState(const CreateLoggingConfigurationState& value) { m_state = value; }
125 inline void SetState(CreateLoggingConfigurationState&& value) { m_state = std::move(value); }
127 inline CreateLoggingConfigurationResult& WithState(CreateLoggingConfigurationState&& value) { SetState(std::move(value)); return *this;}
129
131
135 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
136 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
137 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
139 inline CreateLoggingConfigurationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
140 inline CreateLoggingConfigurationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
141 inline CreateLoggingConfigurationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline CreateLoggingConfigurationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
143 inline CreateLoggingConfigurationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 inline CreateLoggingConfigurationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
145 inline CreateLoggingConfigurationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline CreateLoggingConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
148
150
151 inline const Aws::String& GetRequestId() const{ return m_requestId; }
152 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
153 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
154 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
155 inline CreateLoggingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 inline CreateLoggingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
157 inline CreateLoggingConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
159 private:
160
161 Aws::String m_arn;
162
163 Aws::String m_id;
164
165 Aws::Utils::DateTime m_createTime;
166
167 Aws::Utils::DateTime m_updateTime;
168
169 Aws::String m_name;
170
171 DestinationConfiguration m_destinationConfiguration;
172
174
176
177 Aws::String m_requestId;
178 };
179
180} // namespace Model
181} // namespace ivschat
182} // namespace Aws
CreateLoggingConfigurationResult & AddTags(const char *key, Aws::String &&value)
CreateLoggingConfigurationResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateLoggingConfigurationResult & WithState(const CreateLoggingConfigurationState &value)
CreateLoggingConfigurationResult & WithArn(Aws::String &&value)
CreateLoggingConfigurationResult & WithDestinationConfiguration(const DestinationConfiguration &value)
CreateLoggingConfigurationResult & WithName(const char *value)
CreateLoggingConfigurationResult & WithId(const Aws::String &value)
CreateLoggingConfigurationResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateLoggingConfigurationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLoggingConfigurationResult & WithArn(const Aws::String &value)
CreateLoggingConfigurationResult & WithRequestId(const Aws::String &value)
CreateLoggingConfigurationResult & WithId(Aws::String &&value)
CreateLoggingConfigurationResult & WithCreateTime(Aws::Utils::DateTime &&value)
CreateLoggingConfigurationResult & WithState(CreateLoggingConfigurationState &&value)
AWS_IVSCHAT_API CreateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLoggingConfigurationResult & WithArn(const char *value)
AWS_IVSCHAT_API CreateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLoggingConfigurationResult & WithRequestId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfiguration &&value)
CreateLoggingConfigurationResult & WithId(const char *value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
CreateLoggingConfigurationResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateLoggingConfigurationResult & WithCreateTime(const Aws::Utils::DateTime &value)
CreateLoggingConfigurationResult & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLoggingConfigurationResult & WithRequestId(Aws::String &&value)
CreateLoggingConfigurationResult & WithUpdateTime(const Aws::Utils::DateTime &value)
CreateLoggingConfigurationResult & AddTags(const char *key, const char *value)
void SetState(const CreateLoggingConfigurationState &value)
CreateLoggingConfigurationResult & WithName(const Aws::String &value)
CreateLoggingConfigurationResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateLoggingConfigurationResult & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLoggingConfigurationResult & WithUpdateTime(Aws::Utils::DateTime &&value)
CreateLoggingConfigurationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&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