AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
UpdateSecurityRequirementPackRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgentRequest.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/SecurityRequirementPackStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityAgent {
16namespace Model {
17
21 public:
22 AWS_SECURITYAGENT_API UpdateSecurityRequirementPackRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityRequirementPack"; }
29
30 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetPackId() const { return m_packId; }
37 inline bool PackIdHasBeenSet() const { return m_packIdHasBeenSet; }
38 template <typename PackIdT = Aws::String>
39 void SetPackId(PackIdT&& value) {
40 m_packIdHasBeenSet = true;
41 m_packId = std::forward<PackIdT>(value);
42 }
43 template <typename PackIdT = Aws::String>
45 SetPackId(std::forward<PackIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline SecurityRequirementPackStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101 private:
102 Aws::String m_packId;
103
104 Aws::String m_name;
105
106 Aws::String m_description;
107
109 bool m_packIdHasBeenSet = false;
110 bool m_nameHasBeenSet = false;
111 bool m_descriptionHasBeenSet = false;
112 bool m_statusHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace SecurityAgent
117} // namespace Aws
AWS_SECURITYAGENT_API UpdateSecurityRequirementPackRequest()=default
UpdateSecurityRequirementPackRequest & WithStatus(SecurityRequirementPackStatus value)
UpdateSecurityRequirementPackRequest & WithDescription(DescriptionT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String