AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageReplicationStatusResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ImageIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/ImageReplicationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ECR
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
43 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
44 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
45 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
47 inline DescribeImageReplicationStatusResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
48 inline DescribeImageReplicationStatusResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
50
52
53 inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
54 inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; }
55 inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); }
56 inline DescribeImageReplicationStatusResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
57 inline DescribeImageReplicationStatusResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
59
61
65 inline const Aws::Vector<ImageReplicationStatus>& GetReplicationStatuses() const{ return m_replicationStatuses; }
66 inline void SetReplicationStatuses(const Aws::Vector<ImageReplicationStatus>& value) { m_replicationStatuses = value; }
67 inline void SetReplicationStatuses(Aws::Vector<ImageReplicationStatus>&& value) { m_replicationStatuses = std::move(value); }
70 inline DescribeImageReplicationStatusResult& AddReplicationStatuses(const ImageReplicationStatus& value) { m_replicationStatuses.push_back(value); return *this; }
71 inline DescribeImageReplicationStatusResult& AddReplicationStatuses(ImageReplicationStatus&& value) { m_replicationStatuses.push_back(std::move(value)); return *this; }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DescribeImageReplicationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DescribeImageReplicationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DescribeImageReplicationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_repositoryName;
87
88 ImageIdentifier m_imageId;
89
90 Aws::Vector<ImageReplicationStatus> m_replicationStatuses;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace ECR
97} // namespace Aws
DescribeImageReplicationStatusResult & WithRequestId(const char *value)
DescribeImageReplicationStatusResult & AddReplicationStatuses(ImageReplicationStatus &&value)
const Aws::Vector< ImageReplicationStatus > & GetReplicationStatuses() const
DescribeImageReplicationStatusResult & WithImageId(const ImageIdentifier &value)
DescribeImageReplicationStatusResult & WithRequestId(const Aws::String &value)
AWS_ECR_API DescribeImageReplicationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageReplicationStatusResult & WithReplicationStatuses(const Aws::Vector< ImageReplicationStatus > &value)
void SetReplicationStatuses(const Aws::Vector< ImageReplicationStatus > &value)
DescribeImageReplicationStatusResult & AddReplicationStatuses(const ImageReplicationStatus &value)
void SetReplicationStatuses(Aws::Vector< ImageReplicationStatus > &&value)
DescribeImageReplicationStatusResult & WithImageId(ImageIdentifier &&value)
DescribeImageReplicationStatusResult & WithRepositoryName(const Aws::String &value)
DescribeImageReplicationStatusResult & WithRepositoryName(Aws::String &&value)
DescribeImageReplicationStatusResult & WithReplicationStatuses(Aws::Vector< ImageReplicationStatus > &&value)
DescribeImageReplicationStatusResult & WithRequestId(Aws::String &&value)
AWS_ECR_API DescribeImageReplicationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageReplicationStatusResult & WithRepositoryName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue