AWS SDK for C++  1.9.132
AWS SDK for C++
PutVerificationStateOnViolationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "PutVerificationStateOnViolation"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetViolationId() const{ return m_violationId; }
40 
44  inline bool ViolationIdHasBeenSet() const { return m_violationIdHasBeenSet; }
45 
49  inline void SetViolationId(const Aws::String& value) { m_violationIdHasBeenSet = true; m_violationId = value; }
50 
54  inline void SetViolationId(Aws::String&& value) { m_violationIdHasBeenSet = true; m_violationId = std::move(value); }
55 
59  inline void SetViolationId(const char* value) { m_violationIdHasBeenSet = true; m_violationId.assign(value); }
60 
64  inline PutVerificationStateOnViolationRequest& WithViolationId(const Aws::String& value) { SetViolationId(value); return *this;}
65 
69  inline PutVerificationStateOnViolationRequest& WithViolationId(Aws::String&& value) { SetViolationId(std::move(value)); return *this;}
70 
74  inline PutVerificationStateOnViolationRequest& WithViolationId(const char* value) { SetViolationId(value); return *this;}
75 
76 
80  inline const VerificationState& GetVerificationState() const{ return m_verificationState; }
81 
85  inline bool VerificationStateHasBeenSet() const { return m_verificationStateHasBeenSet; }
86 
90  inline void SetVerificationState(const VerificationState& value) { m_verificationStateHasBeenSet = true; m_verificationState = value; }
91 
95  inline void SetVerificationState(VerificationState&& value) { m_verificationStateHasBeenSet = true; m_verificationState = std::move(value); }
96 
100  inline PutVerificationStateOnViolationRequest& WithVerificationState(const VerificationState& value) { SetVerificationState(value); return *this;}
101 
105  inline PutVerificationStateOnViolationRequest& WithVerificationState(VerificationState&& value) { SetVerificationState(std::move(value)); return *this;}
106 
107 
112  inline const Aws::String& GetVerificationStateDescription() const{ return m_verificationStateDescription; }
113 
118  inline bool VerificationStateDescriptionHasBeenSet() const { return m_verificationStateDescriptionHasBeenSet; }
119 
124  inline void SetVerificationStateDescription(const Aws::String& value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription = value; }
125 
130  inline void SetVerificationStateDescription(Aws::String&& value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription = std::move(value); }
131 
136  inline void SetVerificationStateDescription(const char* value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription.assign(value); }
137 
142  inline PutVerificationStateOnViolationRequest& WithVerificationStateDescription(const Aws::String& value) { SetVerificationStateDescription(value); return *this;}
143 
148  inline PutVerificationStateOnViolationRequest& WithVerificationStateDescription(Aws::String&& value) { SetVerificationStateDescription(std::move(value)); return *this;}
149 
154  inline PutVerificationStateOnViolationRequest& WithVerificationStateDescription(const char* value) { SetVerificationStateDescription(value); return *this;}
155 
156  private:
157 
158  Aws::String m_violationId;
159  bool m_violationIdHasBeenSet;
160 
161  VerificationState m_verificationState;
162  bool m_verificationStateHasBeenSet;
163 
164  Aws::String m_verificationStateDescription;
165  bool m_verificationStateDescriptionHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace IoT
170 } // namespace Aws
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetVerificationState
void SetVerificationState(const VerificationState &value)
Definition: PutVerificationStateOnViolationRequest.h:90
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithVerificationStateDescription
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(const char *value)
Definition: PutVerificationStateOnViolationRequest.h:154
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetVerificationStateDescription
void SetVerificationStateDescription(const char *value)
Definition: PutVerificationStateOnViolationRequest.h:136
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetVerificationStateDescription
void SetVerificationStateDescription(const Aws::String &value)
Definition: PutVerificationStateOnViolationRequest.h:124
Aws::IoT::Model::PutVerificationStateOnViolationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutVerificationStateOnViolationRequest.h:31
Aws::IoT::Model::PutVerificationStateOnViolationRequest::GetViolationId
const Aws::String & GetViolationId() const
Definition: PutVerificationStateOnViolationRequest.h:39
Aws::IoT::Model::PutVerificationStateOnViolationRequest::VerificationStateHasBeenSet
bool VerificationStateHasBeenSet() const
Definition: PutVerificationStateOnViolationRequest.h:85
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithVerificationStateDescription
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(Aws::String &&value)
Definition: PutVerificationStateOnViolationRequest.h:148
VerificationState.h
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithViolationId
PutVerificationStateOnViolationRequest & WithViolationId(const Aws::String &value)
Definition: PutVerificationStateOnViolationRequest.h:64
Aws::IoT::Model::PutVerificationStateOnViolationRequest::ViolationIdHasBeenSet
bool ViolationIdHasBeenSet() const
Definition: PutVerificationStateOnViolationRequest.h:44
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetVerificationStateDescription
void SetVerificationStateDescription(Aws::String &&value)
Definition: PutVerificationStateOnViolationRequest.h:130
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetViolationId
void SetViolationId(const char *value)
Definition: PutVerificationStateOnViolationRequest.h:59
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetViolationId
void SetViolationId(Aws::String &&value)
Definition: PutVerificationStateOnViolationRequest.h:54
Aws::IoT::Model::PutVerificationStateOnViolationRequest
Definition: PutVerificationStateOnViolationRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithViolationId
PutVerificationStateOnViolationRequest & WithViolationId(const char *value)
Definition: PutVerificationStateOnViolationRequest.h:74
Aws::IoT::Model::PutVerificationStateOnViolationRequest::GetVerificationState
const VerificationState & GetVerificationState() const
Definition: PutVerificationStateOnViolationRequest.h:80
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::PutVerificationStateOnViolationRequest::VerificationStateDescriptionHasBeenSet
bool VerificationStateDescriptionHasBeenSet() const
Definition: PutVerificationStateOnViolationRequest.h:118
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithVerificationStateDescription
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(const Aws::String &value)
Definition: PutVerificationStateOnViolationRequest.h:142
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetVerificationState
void SetVerificationState(VerificationState &&value)
Definition: PutVerificationStateOnViolationRequest.h:95
Aws::IoT::Model::VerificationState
VerificationState
Definition: VerificationState.h:17
Aws::IoT::Model::PutVerificationStateOnViolationRequest::GetVerificationStateDescription
const Aws::String & GetVerificationStateDescription() const
Definition: PutVerificationStateOnViolationRequest.h:112
IoTRequest.h
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithVerificationState
PutVerificationStateOnViolationRequest & WithVerificationState(const VerificationState &value)
Definition: PutVerificationStateOnViolationRequest.h:100
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithViolationId
PutVerificationStateOnViolationRequest & WithViolationId(Aws::String &&value)
Definition: PutVerificationStateOnViolationRequest.h:69
Aws::IoT::Model::PutVerificationStateOnViolationRequest::WithVerificationState
PutVerificationStateOnViolationRequest & WithVerificationState(VerificationState &&value)
Definition: PutVerificationStateOnViolationRequest.h:105
Aws::IoT::Model::PutVerificationStateOnViolationRequest::PutVerificationStateOnViolationRequest
PutVerificationStateOnViolationRequest()
Aws::IoT::Model::PutVerificationStateOnViolationRequest::SetViolationId
void SetViolationId(const Aws::String &value)
Definition: PutVerificationStateOnViolationRequest.h:49
IoT_EXPORTS.h