AWS SDK for C++  1.9.104
AWS SDK for C++
GetAuthorizationTokenResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
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 ECR
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<AuthorizationData>& GetAuthorizationData() const{ return m_authorizationData; }
41 
46  inline void SetAuthorizationData(const Aws::Vector<AuthorizationData>& value) { m_authorizationData = value; }
47 
52  inline void SetAuthorizationData(Aws::Vector<AuthorizationData>&& value) { m_authorizationData = std::move(value); }
53 
58  inline GetAuthorizationTokenResult& WithAuthorizationData(const Aws::Vector<AuthorizationData>& value) { SetAuthorizationData(value); return *this;}
59 
64  inline GetAuthorizationTokenResult& WithAuthorizationData(Aws::Vector<AuthorizationData>&& value) { SetAuthorizationData(std::move(value)); return *this;}
65 
70  inline GetAuthorizationTokenResult& AddAuthorizationData(const AuthorizationData& value) { m_authorizationData.push_back(value); return *this; }
71 
76  inline GetAuthorizationTokenResult& AddAuthorizationData(AuthorizationData&& value) { m_authorizationData.push_back(std::move(value)); return *this; }
77 
78  private:
79 
80  Aws::Vector<AuthorizationData> m_authorizationData;
81  };
82 
83 } // namespace Model
84 } // namespace ECR
85 } // namespace Aws
Aws::ECR::Model::GetAuthorizationTokenResult::GetAuthorizationData
const Aws::Vector< AuthorizationData > & GetAuthorizationData() const
Definition: GetAuthorizationTokenResult.h:40
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::GetAuthorizationTokenResult::SetAuthorizationData
void SetAuthorizationData(Aws::Vector< AuthorizationData > &&value)
Definition: GetAuthorizationTokenResult.h:52
AuthorizationData.h
Aws::ECR::Model::GetAuthorizationTokenResult::GetAuthorizationTokenResult
GetAuthorizationTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ECR::Model::AuthorizationData
Definition: AuthorizationData.h:34
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
Aws::ECR::Model::GetAuthorizationTokenResult::WithAuthorizationData
GetAuthorizationTokenResult & WithAuthorizationData(const Aws::Vector< AuthorizationData > &value)
Definition: GetAuthorizationTokenResult.h:58
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::GetAuthorizationTokenResult::operator=
GetAuthorizationTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::GetAuthorizationTokenResult::AddAuthorizationData
GetAuthorizationTokenResult & AddAuthorizationData(const AuthorizationData &value)
Definition: GetAuthorizationTokenResult.h:70
Aws::ECR::Model::GetAuthorizationTokenResult::GetAuthorizationTokenResult
GetAuthorizationTokenResult()
Aws::ECR::Model::GetAuthorizationTokenResult::AddAuthorizationData
GetAuthorizationTokenResult & AddAuthorizationData(AuthorizationData &&value)
Definition: GetAuthorizationTokenResult.h:76
Aws::ECR::Model::GetAuthorizationTokenResult
Definition: GetAuthorizationTokenResult.h:29
Aws::ECR::Model::GetAuthorizationTokenResult::WithAuthorizationData
GetAuthorizationTokenResult & WithAuthorizationData(Aws::Vector< AuthorizationData > &&value)
Definition: GetAuthorizationTokenResult.h:64
Aws::ECR::Model::GetAuthorizationTokenResult::SetAuthorizationData
void SetAuthorizationData(const Aws::Vector< AuthorizationData > &value)
Definition: GetAuthorizationTokenResult.h:46