AWS SDK for C++  1.9.158
AWS SDK for C++
UnsupportedPricingPlanException.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 QuickSight
22 {
23 namespace Model
24 {
25 
40  {
41  public:
46 
47 
48 
49  inline const Aws::String& GetMessage() const{ return m_message; }
50 
51 
52  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
53 
54 
55  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
56 
57 
58  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
59 
60 
61  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 
63 
64  inline UnsupportedPricingPlanException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
65 
66 
67  inline UnsupportedPricingPlanException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
68 
69 
70  inline UnsupportedPricingPlanException& WithMessage(const char* value) { SetMessage(value); return *this;}
71 
72 
76  inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 
81  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
82 
86  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
87 
91  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
92 
96  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
97 
101  inline UnsupportedPricingPlanException& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 
106  inline UnsupportedPricingPlanException& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 
111  inline UnsupportedPricingPlanException& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 
113  private:
114 
115  Aws::String m_message;
116  bool m_messageHasBeenSet;
117 
118  Aws::String m_requestId;
119  bool m_requestIdHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace QuickSight
124 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetMessage
void SetMessage(const char *value)
Definition: UnsupportedPricingPlanException.h:61
Aws::QuickSight::Model::UnsupportedPricingPlanException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: UnsupportedPricingPlanException.h:52
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithMessage
UnsupportedPricingPlanException & WithMessage(Aws::String &&value)
Definition: UnsupportedPricingPlanException.h:67
Aws::QuickSight::Model::UnsupportedPricingPlanException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UnsupportedPricingPlanException.h:91
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UnsupportedPricingPlanException.h:86
Aws::QuickSight::Model::UnsupportedPricingPlanException::UnsupportedPricingPlanException
UnsupportedPricingPlanException()
Aws::QuickSight::Model::UnsupportedPricingPlanException::GetMessage
const Aws::String & GetMessage() const
Definition: UnsupportedPricingPlanException.h:49
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithMessage
UnsupportedPricingPlanException & WithMessage(const char *value)
Definition: UnsupportedPricingPlanException.h:70
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithRequestId
UnsupportedPricingPlanException & WithRequestId(const Aws::String &value)
Definition: UnsupportedPricingPlanException.h:101
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithMessage
UnsupportedPricingPlanException & WithMessage(const Aws::String &value)
Definition: UnsupportedPricingPlanException.h:64
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetMessage
void SetMessage(Aws::String &&value)
Definition: UnsupportedPricingPlanException.h:58
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetMessage
void SetMessage(const Aws::String &value)
Definition: UnsupportedPricingPlanException.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::UnsupportedPricingPlanException::SetRequestId
void SetRequestId(const char *value)
Definition: UnsupportedPricingPlanException.h:96
Aws::QuickSight::Model::UnsupportedPricingPlanException
Definition: UnsupportedPricingPlanException.h:40
Aws::QuickSight::Model::UnsupportedPricingPlanException::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: UnsupportedPricingPlanException.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UnsupportedPricingPlanException::GetRequestId
const Aws::String & GetRequestId() const
Definition: UnsupportedPricingPlanException.h:76
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithRequestId
UnsupportedPricingPlanException & WithRequestId(const char *value)
Definition: UnsupportedPricingPlanException.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UnsupportedPricingPlanException::UnsupportedPricingPlanException
UnsupportedPricingPlanException(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::UnsupportedPricingPlanException::WithRequestId
UnsupportedPricingPlanException & WithRequestId(Aws::String &&value)
Definition: UnsupportedPricingPlanException.h:106
Aws::QuickSight::Model::UnsupportedPricingPlanException::operator=
UnsupportedPricingPlanException & operator=(Aws::Utils::Json::JsonView jsonValue)