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-public/ECRPublic_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 ECRPublic
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ECRPUBLIC_API InvalidLayerPartException() = default;
39 AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const;
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
82 inline long long GetLastValidByteReceived() const { return m_lastValidByteReceived; }
83 inline bool LastValidByteReceivedHasBeenSet() const { return m_lastValidByteReceivedHasBeenSet; }
84 inline void SetLastValidByteReceived(long long value) { m_lastValidByteReceivedHasBeenSet = true; m_lastValidByteReceived = value; }
85 inline InvalidLayerPartException& WithLastValidByteReceived(long long value) { SetLastValidByteReceived(value); return *this;}
87
89
90 inline const Aws::String& GetMessage() const { return m_message; }
91 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
92 template<typename MessageT = Aws::String>
93 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
94 template<typename MessageT = Aws::String>
95 InvalidLayerPartException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
97 private:
98
99 Aws::String m_registryId;
100 bool m_registryIdHasBeenSet = false;
101
102 Aws::String m_repositoryName;
103 bool m_repositoryNameHasBeenSet = false;
104
105 Aws::String m_uploadId;
106 bool m_uploadIdHasBeenSet = false;
107
108 long long m_lastValidByteReceived{0};
109 bool m_lastValidByteReceivedHasBeenSet = false;
110
111 Aws::String m_message;
112 bool m_messageHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ECRPublic
117} // namespace Aws
AWS_ECRPUBLIC_API InvalidLayerPartException(Aws::Utils::Json::JsonView jsonValue)
InvalidLayerPartException & WithMessage(MessageT &&value)
InvalidLayerPartException & WithLastValidByteReceived(long long value)
InvalidLayerPartException & WithUploadId(UploadIdT &&value)
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECRPUBLIC_API InvalidLayerPartException()=default
InvalidLayerPartException & WithRegistryId(RegistryIdT &&value)
InvalidLayerPartException & WithRepositoryName(RepositoryNameT &&value)
AWS_ECRPUBLIC_API InvalidLayerPartException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue