AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_IVSCHAT_API UpdateLoggingConfigurationResult() = 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 UpdateLoggingConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
56 inline const Aws::String& GetId() const { return m_id; }
57 template<typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
59 template<typename IdT = Aws::String>
60 UpdateLoggingConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
62
64
68 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
69 template<typename CreateTimeT = Aws::Utils::DateTime>
70 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
71 template<typename CreateTimeT = Aws::Utils::DateTime>
72 UpdateLoggingConfigurationResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
74
76
80 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
81 template<typename UpdateTimeT = Aws::Utils::DateTime>
82 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
83 template<typename UpdateTimeT = Aws::Utils::DateTime>
84 UpdateLoggingConfigurationResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
86
88
91 inline const Aws::String& GetName() const { return m_name; }
92 template<typename NameT = Aws::String>
93 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
94 template<typename NameT = Aws::String>
95 UpdateLoggingConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
97
99
105 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
106 template<typename DestinationConfigurationT = DestinationConfiguration>
107 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
108 template<typename DestinationConfigurationT = DestinationConfiguration>
109 UpdateLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
111
113
117 inline UpdateLoggingConfigurationState GetState() const { return m_state; }
118 inline void SetState(UpdateLoggingConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
121
123
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
130 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 UpdateLoggingConfigurationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
132 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
133 UpdateLoggingConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
134 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
135 }
137
139
140 inline const Aws::String& GetRequestId() const { return m_requestId; }
141 template<typename RequestIdT = Aws::String>
142 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
143 template<typename RequestIdT = Aws::String>
144 UpdateLoggingConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_id;
152 bool m_idHasBeenSet = false;
153
154 Aws::Utils::DateTime m_createTime{};
155 bool m_createTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_updateTime{};
158 bool m_updateTimeHasBeenSet = false;
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
163 DestinationConfiguration m_destinationConfiguration;
164 bool m_destinationConfigurationHasBeenSet = false;
165
167 bool m_stateHasBeenSet = false;
168
170 bool m_tagsHasBeenSet = false;
171
172 Aws::String m_requestId;
173 bool m_requestIdHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace ivschat
178} // namespace Aws
AWS_IVSCHAT_API UpdateLoggingConfigurationResult()=default
UpdateLoggingConfigurationResult & WithUpdateTime(UpdateTimeT &&value)
UpdateLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateLoggingConfigurationResult & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateLoggingConfigurationResult & WithTags(TagsT &&value)
UpdateLoggingConfigurationResult & WithState(UpdateLoggingConfigurationState value)
UpdateLoggingConfigurationResult & WithArn(ArnT &&value)
UpdateLoggingConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSCHAT_API UpdateLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLoggingConfigurationResult & WithCreateTime(CreateTimeT &&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