AWS SDK for C++  1.9.131
AWS SDK for C++
CreateGroupCertificateAuthorityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Greengrass
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateGroupCertificateAuthority"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetAmznClientToken() const{ return m_amznClientToken; }
41 
45  inline bool AmznClientTokenHasBeenSet() const { return m_amznClientTokenHasBeenSet; }
46 
50  inline void SetAmznClientToken(const Aws::String& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = value; }
51 
55  inline void SetAmznClientToken(Aws::String&& value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken = std::move(value); }
56 
60  inline void SetAmznClientToken(const char* value) { m_amznClientTokenHasBeenSet = true; m_amznClientToken.assign(value); }
61 
65  inline CreateGroupCertificateAuthorityRequest& WithAmznClientToken(const Aws::String& value) { SetAmznClientToken(value); return *this;}
66 
70  inline CreateGroupCertificateAuthorityRequest& WithAmznClientToken(Aws::String&& value) { SetAmznClientToken(std::move(value)); return *this;}
71 
75  inline CreateGroupCertificateAuthorityRequest& WithAmznClientToken(const char* value) { SetAmznClientToken(value); return *this;}
76 
77 
81  inline const Aws::String& GetGroupId() const{ return m_groupId; }
82 
86  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
87 
91  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
92 
96  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
97 
101  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
102 
106  inline CreateGroupCertificateAuthorityRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
107 
111  inline CreateGroupCertificateAuthorityRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
112 
116  inline CreateGroupCertificateAuthorityRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_amznClientToken;
121  bool m_amznClientTokenHasBeenSet;
122 
123  Aws::String m_groupId;
124  bool m_groupIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace Greengrass
129 } // namespace Aws
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithGroupId
CreateGroupCertificateAuthorityRequest & WithGroupId(const char *value)
Definition: CreateGroupCertificateAuthorityRequest.h:116
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: CreateGroupCertificateAuthorityRequest.h:86
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest
Definition: CreateGroupCertificateAuthorityRequest.h:22
Greengrass_EXPORTS.h
AWS_GREENGRASS_API
#define AWS_GREENGRASS_API
Definition: Greengrass_EXPORTS.h:28
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithAmznClientToken
CreateGroupCertificateAuthorityRequest & WithAmznClientToken(Aws::String &&value)
Definition: CreateGroupCertificateAuthorityRequest.h:70
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithGroupId
CreateGroupCertificateAuthorityRequest & WithGroupId(const Aws::String &value)
Definition: CreateGroupCertificateAuthorityRequest.h:106
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::AmznClientTokenHasBeenSet
bool AmznClientTokenHasBeenSet() const
Definition: CreateGroupCertificateAuthorityRequest.h:45
GreengrassRequest.h
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::GetGroupId
const Aws::String & GetGroupId() const
Definition: CreateGroupCertificateAuthorityRequest.h:81
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetAmznClientToken
void SetAmznClientToken(const char *value)
Definition: CreateGroupCertificateAuthorityRequest.h:60
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithAmznClientToken
CreateGroupCertificateAuthorityRequest & WithAmznClientToken(const Aws::String &value)
Definition: CreateGroupCertificateAuthorityRequest.h:65
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithAmznClientToken
CreateGroupCertificateAuthorityRequest & WithAmznClientToken(const char *value)
Definition: CreateGroupCertificateAuthorityRequest.h:75
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::CreateGroupCertificateAuthorityRequest
CreateGroupCertificateAuthorityRequest()
Aws::Greengrass::GreengrassRequest
Definition: GreengrassRequest.h:17
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: CreateGroupCertificateAuthorityRequest.h:91
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: CreateGroupCertificateAuthorityRequest.h:96
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::GetAmznClientToken
const Aws::String & GetAmznClientToken() const
Definition: CreateGroupCertificateAuthorityRequest.h:40
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::WithGroupId
CreateGroupCertificateAuthorityRequest & WithGroupId(Aws::String &&value)
Definition: CreateGroupCertificateAuthorityRequest.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetAmznClientToken
void SetAmznClientToken(Aws::String &&value)
Definition: CreateGroupCertificateAuthorityRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateGroupCertificateAuthorityRequest.h:30
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetAmznClientToken
void SetAmznClientToken(const Aws::String &value)
Definition: CreateGroupCertificateAuthorityRequest.h:50
Aws::Greengrass::Model::CreateGroupCertificateAuthorityRequest::SetGroupId
void SetGroupId(const char *value)
Definition: CreateGroupCertificateAuthorityRequest.h:101