AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidLayerPartException.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECR
22{
23namespace Model
24{
25
34 {
35 public:
40
41
43
46 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
47 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
48 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
49 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
50 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
51 inline InvalidLayerPartException& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
52 inline InvalidLayerPartException& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
53 inline InvalidLayerPartException& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
55
57
60 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
61 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
62 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
63 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
64 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
65 inline InvalidLayerPartException& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
66 inline InvalidLayerPartException& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
67 inline InvalidLayerPartException& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
69
71
74 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
75 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
76 inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
77 inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
78 inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
79 inline InvalidLayerPartException& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
80 inline InvalidLayerPartException& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
81 inline InvalidLayerPartException& WithUploadId(const char* value) { SetUploadId(value); return *this;}
83
85
89 inline long long GetLastValidByteReceived() const{ return m_lastValidByteReceived; }
90 inline bool LastValidByteReceivedHasBeenSet() const { return m_lastValidByteReceivedHasBeenSet; }
91 inline void SetLastValidByteReceived(long long value) { m_lastValidByteReceivedHasBeenSet = true; m_lastValidByteReceived = value; }
92 inline InvalidLayerPartException& WithLastValidByteReceived(long long value) { SetLastValidByteReceived(value); return *this;}
94
96
99 inline const Aws::String& GetMessage() const{ return m_message; }
100 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
101 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
102 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
103 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
104 inline InvalidLayerPartException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
105 inline InvalidLayerPartException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
106 inline InvalidLayerPartException& WithMessage(const char* value) { SetMessage(value); return *this;}
108 private:
109
110 Aws::String m_registryId;
111 bool m_registryIdHasBeenSet = false;
112
113 Aws::String m_repositoryName;
114 bool m_repositoryNameHasBeenSet = false;
115
116 Aws::String m_uploadId;
117 bool m_uploadIdHasBeenSet = false;
118
119 long long m_lastValidByteReceived;
120 bool m_lastValidByteReceivedHasBeenSet = false;
121
122 Aws::String m_message;
123 bool m_messageHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ECR
128} // namespace Aws
InvalidLayerPartException & WithMessage(Aws::String &&value)
InvalidLayerPartException & WithMessage(const Aws::String &value)
InvalidLayerPartException & WithMessage(const char *value)
InvalidLayerPartException & WithRepositoryName(Aws::String &&value)
AWS_ECR_API InvalidLayerPartException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidLayerPartException & WithRepositoryName(const char *value)
InvalidLayerPartException & WithRegistryId(const Aws::String &value)
InvalidLayerPartException & WithUploadId(const char *value)
InvalidLayerPartException & WithUploadId(Aws::String &&value)
InvalidLayerPartException & WithRepositoryName(const Aws::String &value)
InvalidLayerPartException & WithLastValidByteReceived(long long value)
InvalidLayerPartException & WithUploadId(const Aws::String &value)
InvalidLayerPartException & WithRegistryId(const char *value)
AWS_ECR_API InvalidLayerPartException(Aws::Utils::Json::JsonView jsonValue)
InvalidLayerPartException & WithRegistryId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue