AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLoggingConfigurationResult.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/LoggingConfigurationState.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:
34 AWS_IVSCHAT_API GetLoggingConfigurationResult() = default;
37
38
40
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 GetLoggingConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetId() const { return m_id; }
58 template<typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
60 template<typename IdT = Aws::String>
61 GetLoggingConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
70 template<typename CreateTimeT = Aws::Utils::DateTime>
71 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
72 template<typename CreateTimeT = Aws::Utils::DateTime>
73 GetLoggingConfigurationResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
82 template<typename UpdateTimeT = Aws::Utils::DateTime>
83 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
84 template<typename UpdateTimeT = Aws::Utils::DateTime>
85 GetLoggingConfigurationResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 template<typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
95 template<typename NameT = Aws::String>
96 GetLoggingConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
98
100
106 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
107 template<typename DestinationConfigurationT = DestinationConfiguration>
108 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
109 template<typename DestinationConfigurationT = DestinationConfiguration>
110 GetLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
112
114
118 inline LoggingConfigurationState GetState() const { return m_state; }
119 inline void SetState(LoggingConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
122
124
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
129 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
131 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 GetLoggingConfigurationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
133 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
134 GetLoggingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
135 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
136 }
138
140
141 inline const Aws::String& GetRequestId() const { return m_requestId; }
142 template<typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
144 template<typename RequestIdT = Aws::String>
145 GetLoggingConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
147 private:
148
149 Aws::String m_arn;
150 bool m_arnHasBeenSet = false;
151
152 Aws::String m_id;
153 bool m_idHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createTime{};
156 bool m_createTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_updateTime{};
159 bool m_updateTimeHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 DestinationConfiguration m_destinationConfiguration;
165 bool m_destinationConfigurationHasBeenSet = false;
166
168 bool m_stateHasBeenSet = false;
169
171 bool m_tagsHasBeenSet = false;
172
173 Aws::String m_requestId;
174 bool m_requestIdHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace ivschat
179} // namespace Aws
GetLoggingConfigurationResult & WithCreateTime(CreateTimeT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggingConfigurationResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetLoggingConfigurationResult & WithUpdateTime(UpdateTimeT &&value)
GetLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
GetLoggingConfigurationResult & WithId(IdT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult()=default
GetLoggingConfigurationResult & WithState(LoggingConfigurationState value)
GetLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
GetLoggingConfigurationResult & WithTags(TagsT &&value)
GetLoggingConfigurationResult & WithArn(ArnT &&value)
GetLoggingConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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