AWS SDK for C++  1.9.20
AWS SDK for C++
ImportDocumentationPartsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
41  {
42  public:
46 
47 
51  inline const Aws::Vector<Aws::String>& GetIds() const{ return m_ids; }
52 
56  inline void SetIds(const Aws::Vector<Aws::String>& value) { m_ids = value; }
57 
61  inline void SetIds(Aws::Vector<Aws::String>&& value) { m_ids = std::move(value); }
62 
66  inline ImportDocumentationPartsResult& WithIds(const Aws::Vector<Aws::String>& value) { SetIds(value); return *this;}
67 
71  inline ImportDocumentationPartsResult& WithIds(Aws::Vector<Aws::String>&& value) { SetIds(std::move(value)); return *this;}
72 
76  inline ImportDocumentationPartsResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; }
77 
81  inline ImportDocumentationPartsResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; }
82 
86  inline ImportDocumentationPartsResult& AddIds(const char* value) { m_ids.push_back(value); return *this; }
87 
88 
92  inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
93 
97  inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warnings = value; }
98 
102  inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warnings = std::move(value); }
103 
107  inline ImportDocumentationPartsResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
108 
112  inline ImportDocumentationPartsResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
113 
117  inline ImportDocumentationPartsResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
118 
122  inline ImportDocumentationPartsResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
123 
127  inline ImportDocumentationPartsResult& AddWarnings(const char* value) { m_warnings.push_back(value); return *this; }
128 
129  private:
130 
132 
133  Aws::Vector<Aws::String> m_warnings;
134  };
135 
136 } // namespace Model
137 } // namespace APIGateway
138 } // namespace Aws
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddWarnings
ImportDocumentationPartsResult & AddWarnings(Aws::String &&value)
Definition: ImportDocumentationPartsResult.h:122
Aws::APIGateway::Model::ImportDocumentationPartsResult
Definition: ImportDocumentationPartsResult.h:41
Aws::APIGateway::Model::ImportDocumentationPartsResult::GetIds
const Aws::Vector< Aws::String > & GetIds() const
Definition: ImportDocumentationPartsResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::ImportDocumentationPartsResult::WithIds
ImportDocumentationPartsResult & WithIds(Aws::Vector< Aws::String > &&value)
Definition: ImportDocumentationPartsResult.h:71
Aws::APIGateway::Model::ImportDocumentationPartsResult::GetWarnings
const Aws::Vector< Aws::String > & GetWarnings() const
Definition: ImportDocumentationPartsResult.h:92
Aws::APIGateway::Model::ImportDocumentationPartsResult::WithWarnings
ImportDocumentationPartsResult & WithWarnings(const Aws::Vector< Aws::String > &value)
Definition: ImportDocumentationPartsResult.h:107
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::ImportDocumentationPartsResult::WithWarnings
ImportDocumentationPartsResult & WithWarnings(Aws::Vector< Aws::String > &&value)
Definition: ImportDocumentationPartsResult.h:112
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddIds
ImportDocumentationPartsResult & AddIds(const Aws::String &value)
Definition: ImportDocumentationPartsResult.h:76
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::ImportDocumentationPartsResult::operator=
ImportDocumentationPartsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddWarnings
ImportDocumentationPartsResult & AddWarnings(const Aws::String &value)
Definition: ImportDocumentationPartsResult.h:117
Aws::APIGateway::Model::ImportDocumentationPartsResult::ImportDocumentationPartsResult
ImportDocumentationPartsResult()
Aws::APIGateway::Model::ImportDocumentationPartsResult::SetWarnings
void SetWarnings(Aws::Vector< Aws::String > &&value)
Definition: ImportDocumentationPartsResult.h:102
Aws::APIGateway::Model::ImportDocumentationPartsResult::SetIds
void SetIds(Aws::Vector< Aws::String > &&value)
Definition: ImportDocumentationPartsResult.h:61
Aws::APIGateway::Model::ImportDocumentationPartsResult::SetWarnings
void SetWarnings(const Aws::Vector< Aws::String > &value)
Definition: ImportDocumentationPartsResult.h:97
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddIds
ImportDocumentationPartsResult & AddIds(Aws::String &&value)
Definition: ImportDocumentationPartsResult.h:81
AWSString.h
Aws::APIGateway::Model::ImportDocumentationPartsResult::SetIds
void SetIds(const Aws::Vector< Aws::String > &value)
Definition: ImportDocumentationPartsResult.h:56
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddWarnings
ImportDocumentationPartsResult & AddWarnings(const char *value)
Definition: ImportDocumentationPartsResult.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::ImportDocumentationPartsResult::WithIds
ImportDocumentationPartsResult & WithIds(const Aws::Vector< Aws::String > &value)
Definition: ImportDocumentationPartsResult.h:66
Aws::APIGateway::Model::ImportDocumentationPartsResult::AddIds
ImportDocumentationPartsResult & AddIds(const char *value)
Definition: ImportDocumentationPartsResult.h:86
Aws::APIGateway::Model::ImportDocumentationPartsResult::ImportDocumentationPartsResult
ImportDocumentationPartsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)