AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InventoryTableConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/ErrorDetails.h>
10#include <aws/s3/model/InventoryConfigurationState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3 {
21namespace Model {
22
30 public:
31 AWS_S3_API InventoryTableConfigurationResult() = default;
34
35 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
42 inline InventoryConfigurationState GetConfigurationState() const { return m_configurationState; }
43 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
45 m_configurationStateHasBeenSet = true;
46 m_configurationState = value;
47 }
50 return *this;
51 }
53
55
73 inline const Aws::String& GetTableStatus() const { return m_tableStatus; }
74 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
75 template <typename TableStatusT = Aws::String>
76 void SetTableStatus(TableStatusT&& value) {
77 m_tableStatusHasBeenSet = true;
78 m_tableStatus = std::forward<TableStatusT>(value);
79 }
80 template <typename TableStatusT = Aws::String>
82 SetTableStatus(std::forward<TableStatusT>(value));
83 return *this;
84 }
86
88
89 inline const ErrorDetails& GetError() const { return m_error; }
90 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
91 template <typename ErrorT = ErrorDetails>
92 void SetError(ErrorT&& value) {
93 m_errorHasBeenSet = true;
94 m_error = std::forward<ErrorT>(value);
95 }
96 template <typename ErrorT = ErrorDetails>
98 SetError(std::forward<ErrorT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetTableName() const { return m_tableName; }
108 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
109 template <typename TableNameT = Aws::String>
110 void SetTableName(TableNameT&& value) {
111 m_tableNameHasBeenSet = true;
112 m_tableName = std::forward<TableNameT>(value);
113 }
114 template <typename TableNameT = Aws::String>
116 SetTableName(std::forward<TableNameT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::String& GetTableArn() const { return m_tableArn; }
126 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
127 template <typename TableArnT = Aws::String>
128 void SetTableArn(TableArnT&& value) {
129 m_tableArnHasBeenSet = true;
130 m_tableArn = std::forward<TableArnT>(value);
131 }
132 template <typename TableArnT = Aws::String>
134 SetTableArn(std::forward<TableArnT>(value));
135 return *this;
136 }
138 private:
140
141 Aws::String m_tableStatus;
142
143 ErrorDetails m_error;
144
145 Aws::String m_tableName;
146
147 Aws::String m_tableArn;
148 bool m_configurationStateHasBeenSet = false;
149 bool m_tableStatusHasBeenSet = false;
150 bool m_errorHasBeenSet = false;
151 bool m_tableNameHasBeenSet = false;
152 bool m_tableArnHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace S3
157} // namespace Aws
InventoryTableConfigurationResult & WithTableStatus(TableStatusT &&value)
AWS_S3_API InventoryTableConfigurationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
InventoryTableConfigurationResult & WithConfigurationState(InventoryConfigurationState value)
InventoryTableConfigurationResult & WithTableArn(TableArnT &&value)
InventoryTableConfigurationResult & WithError(ErrorT &&value)
AWS_S3_API InventoryTableConfigurationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventoryTableConfigurationResult & WithTableName(TableNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String