AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_ECR_API InvalidLayerPartException() = default;
40
41
43
46 inline const Aws::String& GetRegistryId() const { return m_registryId; }
47 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
48 template<typename RegistryIdT = Aws::String>
49 void SetRegistryId(RegistryIdT&& value) { m_registryIdHasBeenSet = true; m_registryId = std::forward<RegistryIdT>(value); }
50 template<typename RegistryIdT = Aws::String>
51 InvalidLayerPartException& WithRegistryId(RegistryIdT&& value) { SetRegistryId(std::forward<RegistryIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
59 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
60 template<typename RepositoryNameT = Aws::String>
61 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
62 template<typename RepositoryNameT = Aws::String>
63 InvalidLayerPartException& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetUploadId() const { return m_uploadId; }
71 inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
72 template<typename UploadIdT = Aws::String>
73 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::forward<UploadIdT>(value); }
74 template<typename UploadIdT = Aws::String>
75 InvalidLayerPartException& WithUploadId(UploadIdT&& value) { SetUploadId(std::forward<UploadIdT>(value)); return *this;}
77
79
83 inline long long GetLastValidByteReceived() const { return m_lastValidByteReceived; }
84 inline bool LastValidByteReceivedHasBeenSet() const { return m_lastValidByteReceivedHasBeenSet; }
85 inline void SetLastValidByteReceived(long long value) { m_lastValidByteReceivedHasBeenSet = true; m_lastValidByteReceived = value; }
86 inline InvalidLayerPartException& WithLastValidByteReceived(long long value) { SetLastValidByteReceived(value); return *this;}
88
90
93 inline const Aws::String& GetMessage() const { return m_message; }
94 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
95 template<typename MessageT = Aws::String>
96 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
97 template<typename MessageT = Aws::String>
98 InvalidLayerPartException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
100 private:
101
102 Aws::String m_registryId;
103 bool m_registryIdHasBeenSet = false;
104
105 Aws::String m_repositoryName;
106 bool m_repositoryNameHasBeenSet = false;
107
108 Aws::String m_uploadId;
109 bool m_uploadIdHasBeenSet = false;
110
111 long long m_lastValidByteReceived{0};
112 bool m_lastValidByteReceivedHasBeenSet = false;
113
114 Aws::String m_message;
115 bool m_messageHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ECR
120} // namespace Aws
InvalidLayerPartException & WithMessage(MessageT &&value)
AWS_ECR_API InvalidLayerPartException()=default
AWS_ECR_API InvalidLayerPartException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidLayerPartException & WithRegistryId(RegistryIdT &&value)
InvalidLayerPartException & WithUploadId(UploadIdT &&value)
InvalidLayerPartException & WithLastValidByteReceived(long long value)
InvalidLayerPartException & WithRepositoryName(RepositoryNameT &&value)
AWS_ECR_API InvalidLayerPartException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue