AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageReplicationStatusRequest.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/ECRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecr/model/ImageIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ECR
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeImageReplicationStatus"; }
32
33 AWS_ECR_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
43 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
44 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
45 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
46 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
49 inline DescribeImageReplicationStatusRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
51
53
54 inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
55 inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
56 inline void SetImageId(const ImageIdentifier& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
57 inline void SetImageId(ImageIdentifier&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
58 inline DescribeImageReplicationStatusRequest& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
59 inline DescribeImageReplicationStatusRequest& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
61
63
67 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
68 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
69 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
70 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
71 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
73 inline DescribeImageReplicationStatusRequest& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
74 inline DescribeImageReplicationStatusRequest& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
76 private:
77
78 Aws::String m_repositoryName;
79 bool m_repositoryNameHasBeenSet = false;
80
81 ImageIdentifier m_imageId;
82 bool m_imageIdHasBeenSet = false;
83
84 Aws::String m_registryId;
85 bool m_registryIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ECR
90} // namespace Aws
DescribeImageReplicationStatusRequest & WithRepositoryName(Aws::String &&value)
DescribeImageReplicationStatusRequest & WithRegistryId(const char *value)
AWS_ECR_API Aws::String SerializePayload() const override
DescribeImageReplicationStatusRequest & WithRepositoryName(const char *value)
DescribeImageReplicationStatusRequest & WithImageId(ImageIdentifier &&value)
DescribeImageReplicationStatusRequest & WithImageId(const ImageIdentifier &value)
DescribeImageReplicationStatusRequest & WithRegistryId(Aws::String &&value)
AWS_ECR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImageReplicationStatusRequest & WithRepositoryName(const Aws::String &value)
DescribeImageReplicationStatusRequest & WithRegistryId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String