AWS SDK for C++  1.9.157
AWS SDK for C++
ListArtifactsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Amplify
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Artifact>& GetArtifacts() const{ return m_artifacts; }
47 
51  inline void SetArtifacts(const Aws::Vector<Artifact>& value) { m_artifacts = value; }
52 
56  inline void SetArtifacts(Aws::Vector<Artifact>&& value) { m_artifacts = std::move(value); }
57 
61  inline ListArtifactsResult& WithArtifacts(const Aws::Vector<Artifact>& value) { SetArtifacts(value); return *this;}
62 
66  inline ListArtifactsResult& WithArtifacts(Aws::Vector<Artifact>&& value) { SetArtifacts(std::move(value)); return *this;}
67 
71  inline ListArtifactsResult& AddArtifacts(const Artifact& value) { m_artifacts.push_back(value); return *this; }
72 
76  inline ListArtifactsResult& AddArtifacts(Artifact&& value) { m_artifacts.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline ListArtifactsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline ListArtifactsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline ListArtifactsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121  private:
122 
123  Aws::Vector<Artifact> m_artifacts;
124 
125  Aws::String m_nextToken;
126  };
127 
128 } // namespace Model
129 } // namespace Amplify
130 } // namespace Aws
Aws::Amplify::Model::ListArtifactsResult::operator=
ListArtifactsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::Artifact
Definition: Artifact.h:32
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::ListArtifactsResult::ListArtifactsResult
ListArtifactsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Artifact.h
Aws::Amplify::Model::ListArtifactsResult::ListArtifactsResult
ListArtifactsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::ListArtifactsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListArtifactsResult.h:95
Aws::Amplify::Model::ListArtifactsResult::WithNextToken
ListArtifactsResult & WithNextToken(const Aws::String &value)
Definition: ListArtifactsResult.h:107
AWSVector.h
Aws::Amplify::Model::ListArtifactsResult::WithArtifacts
ListArtifactsResult & WithArtifacts(const Aws::Vector< Artifact > &value)
Definition: ListArtifactsResult.h:61
Aws::Amplify::Model::ListArtifactsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListArtifactsResult.h:101
Aws::Amplify::Model::ListArtifactsResult::AddArtifacts
ListArtifactsResult & AddArtifacts(Artifact &&value)
Definition: ListArtifactsResult.h:76
Aws::Amplify::Model::ListArtifactsResult::WithNextToken
ListArtifactsResult & WithNextToken(const char *value)
Definition: ListArtifactsResult.h:119
Aws::Amplify::Model::ListArtifactsResult
Definition: ListArtifactsResult.h:36
Aws::Amplify::Model::ListArtifactsResult::SetArtifacts
void SetArtifacts(Aws::Vector< Artifact > &&value)
Definition: ListArtifactsResult.h:56
AWSString.h
Aws::Amplify::Model::ListArtifactsResult::GetArtifacts
const Aws::Vector< Artifact > & GetArtifacts() const
Definition: ListArtifactsResult.h:46
Aws::Amplify::Model::ListArtifactsResult::AddArtifacts
ListArtifactsResult & AddArtifacts(const Artifact &value)
Definition: ListArtifactsResult.h:71
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ListArtifactsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListArtifactsResult.h:83
Aws::Amplify::Model::ListArtifactsResult::WithNextToken
ListArtifactsResult & WithNextToken(Aws::String &&value)
Definition: ListArtifactsResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListArtifactsResult::WithArtifacts
ListArtifactsResult & WithArtifacts(Aws::Vector< Artifact > &&value)
Definition: ListArtifactsResult.h:66
Aws::Amplify::Model::ListArtifactsResult::SetArtifacts
void SetArtifacts(const Aws::Vector< Artifact > &value)
Definition: ListArtifactsResult.h:51
Aws::Amplify::Model::ListArtifactsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListArtifactsResult.h:89
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28