AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAuditSuppressionRequest.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/ResourceIdentifier.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace IoT
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAuditSuppression"; }
34
35 AWS_IOT_API Aws::String SerializePayload() const override;
36
37
39
40 inline const Aws::String& GetCheckName() const{ return m_checkName; }
41 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
42 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
43 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
44 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
45 inline CreateAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
46 inline CreateAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
47 inline CreateAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
49
51
52 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
53 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
54 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
55 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
59
61
64 inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
65 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
66 inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; }
67 inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); }
71
73
76 inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; }
77 inline bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; }
78 inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; }
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline CreateAuditSuppressionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline CreateAuditSuppressionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline CreateAuditSuppressionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
103 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
104 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
105 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
106 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
110 inline CreateAuditSuppressionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
112 private:
113
114 Aws::String m_checkName;
115 bool m_checkNameHasBeenSet = false;
116
117 ResourceIdentifier m_resourceIdentifier;
118 bool m_resourceIdentifierHasBeenSet = false;
119
120 Aws::Utils::DateTime m_expirationDate;
121 bool m_expirationDateHasBeenSet = false;
122
123 bool m_suppressIndefinitely;
124 bool m_suppressIndefinitelyHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_clientRequestToken;
130 bool m_clientRequestTokenHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoT
135} // namespace Aws
CreateAuditSuppressionRequest & WithExpirationDate(Aws::Utils::DateTime &&value)
CreateAuditSuppressionRequest & WithCheckName(Aws::String &&value)
CreateAuditSuppressionRequest & WithClientRequestToken(const Aws::String &value)
CreateAuditSuppressionRequest & WithCheckName(const Aws::String &value)
CreateAuditSuppressionRequest & WithDescription(Aws::String &&value)
CreateAuditSuppressionRequest & WithSuppressIndefinitely(bool value)
CreateAuditSuppressionRequest & WithClientRequestToken(const char *value)
CreateAuditSuppressionRequest & WithCheckName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifier &&value)
CreateAuditSuppressionRequest & WithExpirationDate(const Aws::Utils::DateTime &value)
CreateAuditSuppressionRequest & WithClientRequestToken(Aws::String &&value)
CreateAuditSuppressionRequest & WithResourceIdentifier(const ResourceIdentifier &value)
void SetExpirationDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateAuditSuppressionRequest & WithDescription(const Aws::String &value)
CreateAuditSuppressionRequest & WithDescription(const char *value)
void SetResourceIdentifier(const ResourceIdentifier &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String