AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLoggingConfigurationResult.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/UpdateLoggingConfigurationState.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
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline UpdateLoggingConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline UpdateLoggingConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline UpdateLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
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 UpdateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline UpdateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline UpdateLoggingConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationState& GetState() const{ return m_state; }
124 inline void SetState(const UpdateLoggingConfigurationState& value) { m_state = value; }
125 inline void SetState(UpdateLoggingConfigurationState&& value) { m_state = std::move(value); }
127 inline UpdateLoggingConfigurationResult& WithState(UpdateLoggingConfigurationState&& 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 UpdateLoggingConfigurationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
140 inline UpdateLoggingConfigurationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
141 inline UpdateLoggingConfigurationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline UpdateLoggingConfigurationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
143 inline UpdateLoggingConfigurationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 inline UpdateLoggingConfigurationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
145 inline UpdateLoggingConfigurationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
146 inline UpdateLoggingConfigurationResult& 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 UpdateLoggingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 inline UpdateLoggingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
157 inline UpdateLoggingConfigurationResult& 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
UpdateLoggingConfigurationResult & WithName(Aws::String &&value)
UpdateLoggingConfigurationResult & AddTags(const char *key, const char *value)
void SetState(const UpdateLoggingConfigurationState &value)
UpdateLoggingConfigurationResult & WithDestinationConfiguration(const DestinationConfiguration &value)
UpdateLoggingConfigurationResult & WithArn(const Aws::String &value)
UpdateLoggingConfigurationResult & WithRequestId(const char *value)
UpdateLoggingConfigurationResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateLoggingConfigurationResult & WithUpdateTime(const Aws::Utils::DateTime &value)
UpdateLoggingConfigurationResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateLoggingConfigurationResult & WithState(UpdateLoggingConfigurationState &&value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithName(const Aws::String &value)
UpdateLoggingConfigurationResult & AddTags(Aws::String &&key, const char *value)
UpdateLoggingConfigurationResult & WithId(const char *value)
UpdateLoggingConfigurationResult & WithArn(Aws::String &&value)
UpdateLoggingConfigurationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLoggingConfigurationResult & WithUpdateTime(Aws::Utils::DateTime &&value)
UpdateLoggingConfigurationResult & WithId(Aws::String &&value)
UpdateLoggingConfigurationResult & WithRequestId(Aws::String &&value)
UpdateLoggingConfigurationResult & WithRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLoggingConfigurationResult & WithCreateTime(const Aws::Utils::DateTime &value)
UpdateLoggingConfigurationResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateLoggingConfigurationResult & WithArn(const char *value)
UpdateLoggingConfigurationResult & WithName(const char *value)
UpdateLoggingConfigurationResult & AddTags(const char *key, Aws::String &&value)
UpdateLoggingConfigurationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateLoggingConfigurationResult & WithCreateTime(Aws::Utils::DateTime &&value)
UpdateLoggingConfigurationResult & WithId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateLoggingConfigurationResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithState(const UpdateLoggingConfigurationState &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