AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateApplicationRequest.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
11#include <utility>
12
13namespace Aws {
14namespace SecurityAgent {
15namespace Model {
16
20 public:
21 AWS_SECURITYAGENT_API UpdateApplicationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
28
29 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
55 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
56 template <typename RoleArnT = Aws::String>
57 void SetRoleArn(RoleArnT&& value) {
58 m_roleArnHasBeenSet = true;
59 m_roleArn = std::forward<RoleArnT>(value);
60 }
61 template <typename RoleArnT = Aws::String>
63 SetRoleArn(std::forward<RoleArnT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetDefaultKmsKeyId() const { return m_defaultKmsKeyId; }
74 inline bool DefaultKmsKeyIdHasBeenSet() const { return m_defaultKmsKeyIdHasBeenSet; }
75 template <typename DefaultKmsKeyIdT = Aws::String>
76 void SetDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
77 m_defaultKmsKeyIdHasBeenSet = true;
78 m_defaultKmsKeyId = std::forward<DefaultKmsKeyIdT>(value);
79 }
80 template <typename DefaultKmsKeyIdT = Aws::String>
81 UpdateApplicationRequest& WithDefaultKmsKeyId(DefaultKmsKeyIdT&& value) {
82 SetDefaultKmsKeyId(std::forward<DefaultKmsKeyIdT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_applicationId;
88
89 Aws::String m_roleArn;
90
91 Aws::String m_defaultKmsKeyId;
92 bool m_applicationIdHasBeenSet = false;
93 bool m_roleArnHasBeenSet = false;
94 bool m_defaultKmsKeyIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SecurityAgent
99} // namespace Aws
UpdateApplicationRequest & WithApplicationId(ApplicationIdT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_SECURITYAGENT_API UpdateApplicationRequest()=default
UpdateApplicationRequest & WithRoleArn(RoleArnT &&value)
UpdateApplicationRequest & WithDefaultKmsKeyId(DefaultKmsKeyIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String