AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutVerificationStateOnViolationRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/VerificationState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace 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_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetViolationId() const{ return m_violationId; }
41 inline bool ViolationIdHasBeenSet() const { return m_violationIdHasBeenSet; }
42 inline void SetViolationId(const Aws::String& value) { m_violationIdHasBeenSet = true; m_violationId = value; }
43 inline void SetViolationId(Aws::String&& value) { m_violationIdHasBeenSet = true; m_violationId = std::move(value); }
44 inline void SetViolationId(const char* value) { m_violationIdHasBeenSet = true; m_violationId.assign(value); }
46 inline PutVerificationStateOnViolationRequest& WithViolationId(Aws::String&& value) { SetViolationId(std::move(value)); return *this;}
47 inline PutVerificationStateOnViolationRequest& WithViolationId(const char* value) { SetViolationId(value); return *this;}
49
51
54 inline const VerificationState& GetVerificationState() const{ return m_verificationState; }
55 inline bool VerificationStateHasBeenSet() const { return m_verificationStateHasBeenSet; }
56 inline void SetVerificationState(const VerificationState& value) { m_verificationStateHasBeenSet = true; m_verificationState = value; }
57 inline void SetVerificationState(VerificationState&& value) { m_verificationStateHasBeenSet = true; m_verificationState = std::move(value); }
61
63
67 inline const Aws::String& GetVerificationStateDescription() const{ return m_verificationStateDescription; }
68 inline bool VerificationStateDescriptionHasBeenSet() const { return m_verificationStateDescriptionHasBeenSet; }
69 inline void SetVerificationStateDescription(const Aws::String& value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription = value; }
70 inline void SetVerificationStateDescription(Aws::String&& value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription = std::move(value); }
71 inline void SetVerificationStateDescription(const char* value) { m_verificationStateDescriptionHasBeenSet = true; m_verificationStateDescription.assign(value); }
76 private:
77
78 Aws::String m_violationId;
79 bool m_violationIdHasBeenSet = false;
80
81 VerificationState m_verificationState;
82 bool m_verificationStateHasBeenSet = false;
83
84 Aws::String m_verificationStateDescription;
85 bool m_verificationStateDescriptionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoT
90} // namespace Aws
PutVerificationStateOnViolationRequest & WithViolationId(Aws::String &&value)
PutVerificationStateOnViolationRequest & WithViolationId(const char *value)
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(const Aws::String &value)
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(const char *value)
PutVerificationStateOnViolationRequest & WithVerificationStateDescription(Aws::String &&value)
PutVerificationStateOnViolationRequest & WithVerificationState(VerificationState &&value)
AWS_IOT_API Aws::String SerializePayload() const override
PutVerificationStateOnViolationRequest & WithViolationId(const Aws::String &value)
PutVerificationStateOnViolationRequest & WithVerificationState(const VerificationState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String