AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RDSDataService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<Field>& GetGeneratedFields() const{ return m_generatedFields; }
46 
50  inline bool GeneratedFieldsHasBeenSet() const { return m_generatedFieldsHasBeenSet; }
51 
55  inline void SetGeneratedFields(const Aws::Vector<Field>& value) { m_generatedFieldsHasBeenSet = true; m_generatedFields = value; }
56 
60  inline void SetGeneratedFields(Aws::Vector<Field>&& value) { m_generatedFieldsHasBeenSet = true; m_generatedFields = std::move(value); }
61 
65  inline UpdateResult& WithGeneratedFields(const Aws::Vector<Field>& value) { SetGeneratedFields(value); return *this;}
66 
70  inline UpdateResult& WithGeneratedFields(Aws::Vector<Field>&& value) { SetGeneratedFields(std::move(value)); return *this;}
71 
75  inline UpdateResult& AddGeneratedFields(const Field& value) { m_generatedFieldsHasBeenSet = true; m_generatedFields.push_back(value); return *this; }
76 
80  inline UpdateResult& AddGeneratedFields(Field&& value) { m_generatedFieldsHasBeenSet = true; m_generatedFields.push_back(std::move(value)); return *this; }
81 
82  private:
83 
84  Aws::Vector<Field> m_generatedFields;
85  bool m_generatedFieldsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace RDSDataService
90 } // namespace Aws
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition: RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::UpdateResult::AddGeneratedFields
UpdateResult & AddGeneratedFields(const Field &value)
Definition: UpdateResult.h:75
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDSDataService::Model::UpdateResult::SetGeneratedFields
void SetGeneratedFields(const Aws::Vector< Field > &value)
Definition: UpdateResult.h:55
Aws::RDSDataService::Model::UpdateResult::operator=
UpdateResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::UpdateResult::WithGeneratedFields
UpdateResult & WithGeneratedFields(Aws::Vector< Field > &&value)
Definition: UpdateResult.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RDSDataService::Model::UpdateResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RDSDataService::Model::Field
Definition: Field.h:34
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::UpdateResult::GeneratedFieldsHasBeenSet
bool GeneratedFieldsHasBeenSet() const
Definition: UpdateResult.h:50
Aws
Definition: AccessManagementClient.h:15
Field.h
Aws::RDSDataService::Model::UpdateResult
Definition: UpdateResult.h:34
Aws::RDSDataService::Model::UpdateResult::UpdateResult
UpdateResult()
Aws::RDSDataService::Model::UpdateResult::SetGeneratedFields
void SetGeneratedFields(Aws::Vector< Field > &&value)
Definition: UpdateResult.h:60
Aws::RDSDataService::Model::UpdateResult::GetGeneratedFields
const Aws::Vector< Field > & GetGeneratedFields() const
Definition: UpdateResult.h:45
Aws::RDSDataService::Model::UpdateResult::WithGeneratedFields
UpdateResult & WithGeneratedFields(const Aws::Vector< Field > &value)
Definition: UpdateResult.h:65
Aws::RDSDataService::Model::UpdateResult::AddGeneratedFields
UpdateResult & AddGeneratedFields(Field &&value)
Definition: UpdateResult.h:80
Aws::RDSDataService::Model::UpdateResult::UpdateResult
UpdateResult(Aws::Utils::Json::JsonView jsonValue)