AWS SDK for C++  1.9.156
AWS SDK for C++
ConflictingOperationException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTSiteWise
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
42 
43  inline const Aws::String& GetMessage() const{ return m_message; }
44 
45 
46  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 
48 
49  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
50 
51 
52  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
53 
54 
55  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
56 
57 
58  inline ConflictingOperationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
59 
60 
61  inline ConflictingOperationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
62 
63 
64  inline ConflictingOperationException& WithMessage(const char* value) { SetMessage(value); return *this;}
65 
66 
70  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
71 
75  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
76 
80  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
81 
85  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
86 
90  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
91 
95  inline ConflictingOperationException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 
100  inline ConflictingOperationException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
101 
105  inline ConflictingOperationException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
106 
107 
111  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
112 
116  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
117 
121  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
122 
126  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
127 
131  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
132 
136  inline ConflictingOperationException& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
137 
141  inline ConflictingOperationException& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
142 
146  inline ConflictingOperationException& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
147 
148  private:
149 
150  Aws::String m_message;
151  bool m_messageHasBeenSet;
152 
153  Aws::String m_resourceId;
154  bool m_resourceIdHasBeenSet;
155 
156  Aws::String m_resourceArn;
157  bool m_resourceArnHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace IoTSiteWise
162 } // namespace Aws
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceArn
void SetResourceArn(const char *value)
Definition: ConflictingOperationException.h:131
Aws::IoTSiteWise::Model::ConflictingOperationException::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: ConflictingOperationException.h:116
Aws::IoTSiteWise::Model::ConflictingOperationException::SetMessage
void SetMessage(const char *value)
Definition: ConflictingOperationException.h:55
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: ConflictingOperationException.h:126
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::ConflictingOperationException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ConflictingOperationException.h:46
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::ConflictingOperationException::WithMessage
ConflictingOperationException & WithMessage(Aws::String &&value)
Definition: ConflictingOperationException.h:61
Aws::IoTSiteWise::Model::ConflictingOperationException::GetResourceId
const Aws::String & GetResourceId() const
Definition: ConflictingOperationException.h:70
Aws::IoTSiteWise::Model::ConflictingOperationException::ConflictingOperationException
ConflictingOperationException()
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceId
ConflictingOperationException & WithResourceId(Aws::String &&value)
Definition: ConflictingOperationException.h:100
Aws::IoTSiteWise::Model::ConflictingOperationException::WithMessage
ConflictingOperationException & WithMessage(const char *value)
Definition: ConflictingOperationException.h:64
Aws::IoTSiteWise::Model::ConflictingOperationException
Definition: ConflictingOperationException.h:34
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: ConflictingOperationException.h:121
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTSiteWise::Model::ConflictingOperationException::operator=
ConflictingOperationException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceArn
ConflictingOperationException & WithResourceArn(const Aws::String &value)
Definition: ConflictingOperationException.h:136
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::ConflictingOperationException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ConflictingOperationException.h:49
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceArn
ConflictingOperationException & WithResourceArn(Aws::String &&value)
Definition: ConflictingOperationException.h:141
Aws::IoTSiteWise::Model::ConflictingOperationException::WithMessage
ConflictingOperationException & WithMessage(const Aws::String &value)
Definition: ConflictingOperationException.h:58
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceId
void SetResourceId(const char *value)
Definition: ConflictingOperationException.h:90
Aws::IoTSiteWise::Model::ConflictingOperationException::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: ConflictingOperationException.h:75
Aws::IoTSiteWise::Model::ConflictingOperationException::GetMessage
const Aws::String & GetMessage() const
Definition: ConflictingOperationException.h:43
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: ConflictingOperationException.h:85
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceArn
ConflictingOperationException & WithResourceArn(const char *value)
Definition: ConflictingOperationException.h:146
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceId
ConflictingOperationException & WithResourceId(const char *value)
Definition: ConflictingOperationException.h:105
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::ConflictingOperationException::WithResourceId
ConflictingOperationException & WithResourceId(const Aws::String &value)
Definition: ConflictingOperationException.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::ConflictingOperationException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::ConflictingOperationException::ConflictingOperationException
ConflictingOperationException(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ConflictingOperationException::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: ConflictingOperationException.h:80
Aws::IoTSiteWise::Model::ConflictingOperationException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ConflictingOperationException.h:52
Aws::IoTSiteWise::Model::ConflictingOperationException::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: ConflictingOperationException.h:111