AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InventoryTableConfigurationResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/InventoryConfigurationState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/ErrorDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3_API InventoryTableConfigurationResult() = default;
39
40 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline InventoryConfigurationState GetConfigurationState() const { return m_configurationState; }
49 inline bool ConfigurationStateHasBeenSet() const { return m_configurationStateHasBeenSet; }
50 inline void SetConfigurationState(InventoryConfigurationState value) { m_configurationStateHasBeenSet = true; m_configurationState = value; }
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) { m_tableStatusHasBeenSet = true; m_tableStatus = std::forward<TableStatusT>(value); }
77 template<typename TableStatusT = Aws::String>
78 InventoryTableConfigurationResult& WithTableStatus(TableStatusT&& value) { SetTableStatus(std::forward<TableStatusT>(value)); return *this;}
80
82
83 inline const ErrorDetails& GetError() const { return m_error; }
84 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
85 template<typename ErrorT = ErrorDetails>
86 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
87 template<typename ErrorT = ErrorDetails>
88 InventoryTableConfigurationResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
90
92
95 inline const Aws::String& GetTableName() const { return m_tableName; }
96 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
97 template<typename TableNameT = Aws::String>
98 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
99 template<typename TableNameT = Aws::String>
100 InventoryTableConfigurationResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
102
104
107 inline const Aws::String& GetTableArn() const { return m_tableArn; }
108 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
109 template<typename TableArnT = Aws::String>
110 void SetTableArn(TableArnT&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
111 template<typename TableArnT = Aws::String>
112 InventoryTableConfigurationResult& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
114 private:
115
117 bool m_configurationStateHasBeenSet = false;
118
119 Aws::String m_tableStatus;
120 bool m_tableStatusHasBeenSet = false;
121
122 ErrorDetails m_error;
123 bool m_errorHasBeenSet = false;
124
125 Aws::String m_tableName;
126 bool m_tableNameHasBeenSet = false;
127
128 Aws::String m_tableArn;
129 bool m_tableArnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace S3
134} // 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