AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictException.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/ConflictExceptionErrorArgument.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Panorama
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PANORAMA_API ConflictException();
37 AWS_PANORAMA_API ConflictException(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ConflictExceptionErrorArgument>& GetErrorArguments() const{ return m_errorArguments; }
47 inline bool ErrorArgumentsHasBeenSet() const { return m_errorArgumentsHasBeenSet; }
48 inline void SetErrorArguments(const Aws::Vector<ConflictExceptionErrorArgument>& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments = value; }
49 inline void SetErrorArguments(Aws::Vector<ConflictExceptionErrorArgument>&& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments = std::move(value); }
52 inline ConflictException& AddErrorArguments(const ConflictExceptionErrorArgument& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(value); return *this; }
53 inline ConflictException& AddErrorArguments(ConflictExceptionErrorArgument&& value) { m_errorArgumentsHasBeenSet = true; m_errorArguments.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::String& GetErrorId() const{ return m_errorId; }
61 inline bool ErrorIdHasBeenSet() const { return m_errorIdHasBeenSet; }
62 inline void SetErrorId(const Aws::String& value) { m_errorIdHasBeenSet = true; m_errorId = value; }
63 inline void SetErrorId(Aws::String&& value) { m_errorIdHasBeenSet = true; m_errorId = std::move(value); }
64 inline void SetErrorId(const char* value) { m_errorIdHasBeenSet = true; m_errorId.assign(value); }
65 inline ConflictException& WithErrorId(const Aws::String& value) { SetErrorId(value); return *this;}
66 inline ConflictException& WithErrorId(Aws::String&& value) { SetErrorId(std::move(value)); return *this;}
67 inline ConflictException& WithErrorId(const char* value) { SetErrorId(value); return *this;}
69
71
72 inline const Aws::String& GetMessage() const{ return m_message; }
73 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
74 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
75 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
76 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
77 inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
78 inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
79 inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
81
83
86 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
87 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
88 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
89 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
90 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
91 inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
92 inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
93 inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
95
97
100 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
101 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
102 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
103 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
104 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
105 inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
106 inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
107 inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
109 private:
110
112 bool m_errorArgumentsHasBeenSet = false;
113
114 Aws::String m_errorId;
115 bool m_errorIdHasBeenSet = false;
116
117 Aws::String m_message;
118 bool m_messageHasBeenSet = false;
119
120 Aws::String m_resourceId;
121 bool m_resourceIdHasBeenSet = false;
122
123 Aws::String m_resourceType;
124 bool m_resourceTypeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Panorama
129} // namespace Aws
void SetMessage(const Aws::String &value)
ConflictException & WithErrorId(Aws::String &&value)
ConflictException & WithResourceId(const char *value)
ConflictException & WithMessage(const Aws::String &value)
void SetResourceId(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & AddErrorArguments(const ConflictExceptionErrorArgument &value)
const Aws::String & GetResourceType() const
const Aws::String & GetMessage() const
ConflictException & WithMessage(const char *value)
ConflictException & AddErrorArguments(ConflictExceptionErrorArgument &&value)
AWS_PANORAMA_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ConflictExceptionErrorArgument > & GetErrorArguments() const
void SetErrorId(const Aws::String &value)
ConflictException & WithErrorArguments(const Aws::Vector< ConflictExceptionErrorArgument > &value)
ConflictException & WithResourceType(const char *value)
const Aws::String & GetErrorId() const
ConflictException & WithResourceId(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetResourceType(const Aws::String &value)
void SetErrorArguments(Aws::Vector< ConflictExceptionErrorArgument > &&value)
void SetErrorArguments(const Aws::Vector< ConflictExceptionErrorArgument > &value)
ConflictException & WithResourceType(const Aws::String &value)
ConflictException & WithErrorArguments(Aws::Vector< ConflictExceptionErrorArgument > &&value)
ConflictException & WithMessage(Aws::String &&value)
ConflictException & WithResourceType(Aws::String &&value)
ConflictException & WithErrorId(const Aws::String &value)
ConflictException & WithResourceId(const Aws::String &value)
ConflictException & WithErrorId(const char *value)
AWS_PANORAMA_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue