AWS SDK for C++  1.9.108
AWS SDK for C++
ActivateTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace CloudFormation
18 {
19 namespace 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 "ActivateType"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const ThirdPartyType& GetType() const{ return m_type; }
48 
54  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 
61  inline void SetType(const ThirdPartyType& value) { m_typeHasBeenSet = true; m_type = value; }
62 
68  inline void SetType(ThirdPartyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 
75  inline ActivateTypeRequest& WithType(const ThirdPartyType& value) { SetType(value); return *this;}
76 
82  inline ActivateTypeRequest& WithType(ThirdPartyType&& value) { SetType(std::move(value)); return *this;}
83 
84 
90  inline const Aws::String& GetPublicTypeArn() const{ return m_publicTypeArn; }
91 
97  inline bool PublicTypeArnHasBeenSet() const { return m_publicTypeArnHasBeenSet; }
98 
104  inline void SetPublicTypeArn(const Aws::String& value) { m_publicTypeArnHasBeenSet = true; m_publicTypeArn = value; }
105 
111  inline void SetPublicTypeArn(Aws::String&& value) { m_publicTypeArnHasBeenSet = true; m_publicTypeArn = std::move(value); }
112 
118  inline void SetPublicTypeArn(const char* value) { m_publicTypeArnHasBeenSet = true; m_publicTypeArn.assign(value); }
119 
125  inline ActivateTypeRequest& WithPublicTypeArn(const Aws::String& value) { SetPublicTypeArn(value); return *this;}
126 
132  inline ActivateTypeRequest& WithPublicTypeArn(Aws::String&& value) { SetPublicTypeArn(std::move(value)); return *this;}
133 
139  inline ActivateTypeRequest& WithPublicTypeArn(const char* value) { SetPublicTypeArn(value); return *this;}
140 
141 
147  inline const Aws::String& GetPublisherId() const{ return m_publisherId; }
148 
154  inline bool PublisherIdHasBeenSet() const { return m_publisherIdHasBeenSet; }
155 
161  inline void SetPublisherId(const Aws::String& value) { m_publisherIdHasBeenSet = true; m_publisherId = value; }
162 
168  inline void SetPublisherId(Aws::String&& value) { m_publisherIdHasBeenSet = true; m_publisherId = std::move(value); }
169 
175  inline void SetPublisherId(const char* value) { m_publisherIdHasBeenSet = true; m_publisherId.assign(value); }
176 
182  inline ActivateTypeRequest& WithPublisherId(const Aws::String& value) { SetPublisherId(value); return *this;}
183 
189  inline ActivateTypeRequest& WithPublisherId(Aws::String&& value) { SetPublisherId(std::move(value)); return *this;}
190 
196  inline ActivateTypeRequest& WithPublisherId(const char* value) { SetPublisherId(value); return *this;}
197 
198 
204  inline const Aws::String& GetTypeName() const{ return m_typeName; }
205 
211  inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
212 
218  inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
219 
225  inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
226 
232  inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
233 
239  inline ActivateTypeRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
240 
246  inline ActivateTypeRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
247 
253  inline ActivateTypeRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
254 
255 
265  inline const Aws::String& GetTypeNameAlias() const{ return m_typeNameAlias; }
266 
276  inline bool TypeNameAliasHasBeenSet() const { return m_typeNameAliasHasBeenSet; }
277 
287  inline void SetTypeNameAlias(const Aws::String& value) { m_typeNameAliasHasBeenSet = true; m_typeNameAlias = value; }
288 
298  inline void SetTypeNameAlias(Aws::String&& value) { m_typeNameAliasHasBeenSet = true; m_typeNameAlias = std::move(value); }
299 
309  inline void SetTypeNameAlias(const char* value) { m_typeNameAliasHasBeenSet = true; m_typeNameAlias.assign(value); }
310 
320  inline ActivateTypeRequest& WithTypeNameAlias(const Aws::String& value) { SetTypeNameAlias(value); return *this;}
321 
331  inline ActivateTypeRequest& WithTypeNameAlias(Aws::String&& value) { SetTypeNameAlias(std::move(value)); return *this;}
332 
342  inline ActivateTypeRequest& WithTypeNameAlias(const char* value) { SetTypeNameAlias(value); return *this;}
343 
344 
351  inline bool GetAutoUpdate() const{ return m_autoUpdate; }
352 
359  inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
360 
367  inline void SetAutoUpdate(bool value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
368 
375  inline ActivateTypeRequest& WithAutoUpdate(bool value) { SetAutoUpdate(value); return *this;}
376 
377 
378 
379  inline const LoggingConfig& GetLoggingConfig() const{ return m_loggingConfig; }
380 
381 
382  inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; }
383 
384 
385  inline void SetLoggingConfig(const LoggingConfig& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = value; }
386 
387 
388  inline void SetLoggingConfig(LoggingConfig&& value) { m_loggingConfigHasBeenSet = true; m_loggingConfig = std::move(value); }
389 
390 
391  inline ActivateTypeRequest& WithLoggingConfig(const LoggingConfig& value) { SetLoggingConfig(value); return *this;}
392 
393 
394  inline ActivateTypeRequest& WithLoggingConfig(LoggingConfig&& value) { SetLoggingConfig(std::move(value)); return *this;}
395 
396 
400  inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
401 
405  inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
406 
410  inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
411 
415  inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
416 
420  inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
421 
425  inline ActivateTypeRequest& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
426 
430  inline ActivateTypeRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
431 
435  inline ActivateTypeRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
436 
437 
446  inline const VersionBump& GetVersionBump() const{ return m_versionBump; }
447 
456  inline bool VersionBumpHasBeenSet() const { return m_versionBumpHasBeenSet; }
457 
466  inline void SetVersionBump(const VersionBump& value) { m_versionBumpHasBeenSet = true; m_versionBump = value; }
467 
476  inline void SetVersionBump(VersionBump&& value) { m_versionBumpHasBeenSet = true; m_versionBump = std::move(value); }
477 
486  inline ActivateTypeRequest& WithVersionBump(const VersionBump& value) { SetVersionBump(value); return *this;}
487 
496  inline ActivateTypeRequest& WithVersionBump(VersionBump&& value) { SetVersionBump(std::move(value)); return *this;}
497 
498 
506  inline long long GetMajorVersion() const{ return m_majorVersion; }
507 
515  inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
516 
524  inline void SetMajorVersion(long long value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
525 
533  inline ActivateTypeRequest& WithMajorVersion(long long value) { SetMajorVersion(value); return *this;}
534 
535  private:
536 
537  ThirdPartyType m_type;
538  bool m_typeHasBeenSet;
539 
540  Aws::String m_publicTypeArn;
541  bool m_publicTypeArnHasBeenSet;
542 
543  Aws::String m_publisherId;
544  bool m_publisherIdHasBeenSet;
545 
546  Aws::String m_typeName;
547  bool m_typeNameHasBeenSet;
548 
549  Aws::String m_typeNameAlias;
550  bool m_typeNameAliasHasBeenSet;
551 
552  bool m_autoUpdate;
553  bool m_autoUpdateHasBeenSet;
554 
555  LoggingConfig m_loggingConfig;
556  bool m_loggingConfigHasBeenSet;
557 
558  Aws::String m_executionRoleArn;
559  bool m_executionRoleArnHasBeenSet;
560 
561  VersionBump m_versionBump;
562  bool m_versionBumpHasBeenSet;
563 
564  long long m_majorVersion;
565  bool m_majorVersionHasBeenSet;
566  };
567 
568 } // namespace Model
569 } // namespace CloudFormation
570 } // namespace Aws
Aws::CloudFormation::Model::ActivateTypeRequest::PublicTypeArnHasBeenSet
bool PublicTypeArnHasBeenSet() const
Definition: ActivateTypeRequest.h:97
Aws::CloudFormation::Model::ActivateTypeRequest
Definition: ActivateTypeRequest.h:25
Aws::CloudFormation::Model::ActivateTypeRequest::WithMajorVersion
ActivateTypeRequest & WithMajorVersion(long long value)
Definition: ActivateTypeRequest.h:533
Aws::CloudFormation::Model::ActivateTypeRequest::SetLoggingConfig
void SetLoggingConfig(const LoggingConfig &value)
Definition: ActivateTypeRequest.h:385
Aws::CloudFormation::Model::ActivateTypeRequest::GetTypeNameAlias
const Aws::String & GetTypeNameAlias() const
Definition: ActivateTypeRequest.h:265
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeName
ActivateTypeRequest & WithTypeName(Aws::String &&value)
Definition: ActivateTypeRequest.h:246
Aws::CloudFormation::Model::ActivateTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeNameAlias
void SetTypeNameAlias(Aws::String &&value)
Definition: ActivateTypeRequest.h:298
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::ActivateTypeRequest::WithExecutionRoleArn
ActivateTypeRequest & WithExecutionRoleArn(Aws::String &&value)
Definition: ActivateTypeRequest.h:430
Aws::CloudFormation::Model::ActivateTypeRequest::GetTypeName
const Aws::String & GetTypeName() const
Definition: ActivateTypeRequest.h:204
Aws::CloudFormation::Model::ThirdPartyType
ThirdPartyType
Definition: ThirdPartyType.h:17
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublisherId
void SetPublisherId(const Aws::String &value)
Definition: ActivateTypeRequest.h:161
Aws::CloudFormation::Model::ActivateTypeRequest::GetMajorVersion
long long GetMajorVersion() const
Definition: ActivateTypeRequest.h:506
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublisherId
ActivateTypeRequest & WithPublisherId(Aws::String &&value)
Definition: ActivateTypeRequest.h:189
Aws::CloudFormation::Model::ActivateTypeRequest::GetPublicTypeArn
const Aws::String & GetPublicTypeArn() const
Definition: ActivateTypeRequest.h:90
Aws::CloudFormation::Model::ActivateTypeRequest::ActivateTypeRequest
ActivateTypeRequest()
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublicTypeArn
void SetPublicTypeArn(Aws::String &&value)
Definition: ActivateTypeRequest.h:111
Aws::CloudFormation::Model::ActivateTypeRequest::SetType
void SetType(ThirdPartyType &&value)
Definition: ActivateTypeRequest.h:68
Aws::CloudFormation::Model::ActivateTypeRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeNameAlias
ActivateTypeRequest & WithTypeNameAlias(const char *value)
Definition: ActivateTypeRequest.h:342
Aws::CloudFormation::Model::ActivateTypeRequest::TypeNameAliasHasBeenSet
bool TypeNameAliasHasBeenSet() const
Definition: ActivateTypeRequest.h:276
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeNameAlias
ActivateTypeRequest & WithTypeNameAlias(const Aws::String &value)
Definition: ActivateTypeRequest.h:320
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::ActivateTypeRequest::SetMajorVersion
void SetMajorVersion(long long value)
Definition: ActivateTypeRequest.h:524
Aws::CloudFormation::Model::ActivateTypeRequest::WithType
ActivateTypeRequest & WithType(ThirdPartyType &&value)
Definition: ActivateTypeRequest.h:82
Aws::CloudFormation::Model::ActivateTypeRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ActivateTypeRequest.h:54
Aws::CloudFormation::Model::ActivateTypeRequest::SetExecutionRoleArn
void SetExecutionRoleArn(Aws::String &&value)
Definition: ActivateTypeRequest.h:415
Aws::CloudFormation::Model::ActivateTypeRequest::WithVersionBump
ActivateTypeRequest & WithVersionBump(const VersionBump &value)
Definition: ActivateTypeRequest.h:486
Aws::CloudFormation::Model::ActivateTypeRequest::WithExecutionRoleArn
ActivateTypeRequest & WithExecutionRoleArn(const Aws::String &value)
Definition: ActivateTypeRequest.h:425
Aws::CloudFormation::Model::ActivateTypeRequest::WithAutoUpdate
ActivateTypeRequest & WithAutoUpdate(bool value)
Definition: ActivateTypeRequest.h:375
Aws::CloudFormation::Model::ActivateTypeRequest::WithLoggingConfig
ActivateTypeRequest & WithLoggingConfig(LoggingConfig &&value)
Definition: ActivateTypeRequest.h:394
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeName
ActivateTypeRequest & WithTypeName(const Aws::String &value)
Definition: ActivateTypeRequest.h:239
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublisherId
void SetPublisherId(Aws::String &&value)
Definition: ActivateTypeRequest.h:168
Aws::CloudFormation::Model::LoggingConfig
Definition: LoggingConfig.h:33
Aws::CloudFormation::Model::ActivateTypeRequest::SetType
void SetType(const ThirdPartyType &value)
Definition: ActivateTypeRequest.h:61
CloudFormationRequest.h
Aws::CloudFormation::Model::ActivateTypeRequest::SetLoggingConfig
void SetLoggingConfig(LoggingConfig &&value)
Definition: ActivateTypeRequest.h:388
Aws::CloudFormation::Model::ActivateTypeRequest::AutoUpdateHasBeenSet
bool AutoUpdateHasBeenSet() const
Definition: ActivateTypeRequest.h:359
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeName
void SetTypeName(const char *value)
Definition: ActivateTypeRequest.h:232
Aws::CloudFormation::Model::ActivateTypeRequest::SetVersionBump
void SetVersionBump(const VersionBump &value)
Definition: ActivateTypeRequest.h:466
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeName
void SetTypeName(const Aws::String &value)
Definition: ActivateTypeRequest.h:218
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublicTypeArn
void SetPublicTypeArn(const Aws::String &value)
Definition: ActivateTypeRequest.h:104
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::VersionBump
VersionBump
Definition: VersionBump.h:17
Aws::CloudFormation::Model::ActivateTypeRequest::WithExecutionRoleArn
ActivateTypeRequest & WithExecutionRoleArn(const char *value)
Definition: ActivateTypeRequest.h:435
Aws::CloudFormation::Model::ActivateTypeRequest::WithLoggingConfig
ActivateTypeRequest & WithLoggingConfig(const LoggingConfig &value)
Definition: ActivateTypeRequest.h:391
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublisherId
void SetPublisherId(const char *value)
Definition: ActivateTypeRequest.h:175
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublisherId
ActivateTypeRequest & WithPublisherId(const char *value)
Definition: ActivateTypeRequest.h:196
Aws::CloudFormation::Model::ActivateTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ActivateTypeRequest.h:33
AWSString.h
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeNameAlias
ActivateTypeRequest & WithTypeNameAlias(Aws::String &&value)
Definition: ActivateTypeRequest.h:331
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeNameAlias
void SetTypeNameAlias(const Aws::String &value)
Definition: ActivateTypeRequest.h:287
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublicTypeArn
ActivateTypeRequest & WithPublicTypeArn(const char *value)
Definition: ActivateTypeRequest.h:139
LoggingConfig.h
ThirdPartyType.h
Aws::CloudFormation::Model::ActivateTypeRequest::PublisherIdHasBeenSet
bool PublisherIdHasBeenSet() const
Definition: ActivateTypeRequest.h:154
Aws::CloudFormation::Model::ActivateTypeRequest::WithTypeName
ActivateTypeRequest & WithTypeName(const char *value)
Definition: ActivateTypeRequest.h:253
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublicTypeArn
ActivateTypeRequest & WithPublicTypeArn(const Aws::String &value)
Definition: ActivateTypeRequest.h:125
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublisherId
ActivateTypeRequest & WithPublisherId(const Aws::String &value)
Definition: ActivateTypeRequest.h:182
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws::CloudFormation::Model::ActivateTypeRequest::WithPublicTypeArn
ActivateTypeRequest & WithPublicTypeArn(Aws::String &&value)
Definition: ActivateTypeRequest.h:132
Aws::CloudFormation::Model::ActivateTypeRequest::GetPublisherId
const Aws::String & GetPublisherId() const
Definition: ActivateTypeRequest.h:147
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFormation::Model::ActivateTypeRequest::GetVersionBump
const VersionBump & GetVersionBump() const
Definition: ActivateTypeRequest.h:446
Aws::CloudFormation::Model::ActivateTypeRequest::VersionBumpHasBeenSet
bool VersionBumpHasBeenSet() const
Definition: ActivateTypeRequest.h:456
Aws::CloudFormation::Model::ActivateTypeRequest::GetExecutionRoleArn
const Aws::String & GetExecutionRoleArn() const
Definition: ActivateTypeRequest.h:400
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeNameAlias
void SetTypeNameAlias(const char *value)
Definition: ActivateTypeRequest.h:309
Aws::CloudFormation::Model::ActivateTypeRequest::ExecutionRoleArnHasBeenSet
bool ExecutionRoleArnHasBeenSet() const
Definition: ActivateTypeRequest.h:405
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::ActivateTypeRequest::LoggingConfigHasBeenSet
bool LoggingConfigHasBeenSet() const
Definition: ActivateTypeRequest.h:382
Aws::CloudFormation::Model::ActivateTypeRequest::SetPublicTypeArn
void SetPublicTypeArn(const char *value)
Definition: ActivateTypeRequest.h:118
Aws::CloudFormation::Model::ActivateTypeRequest::GetLoggingConfig
const LoggingConfig & GetLoggingConfig() const
Definition: ActivateTypeRequest.h:379
Aws::CloudFormation::Model::ActivateTypeRequest::WithType
ActivateTypeRequest & WithType(const ThirdPartyType &value)
Definition: ActivateTypeRequest.h:75
Aws::CloudFormation::Model::ActivateTypeRequest::SetAutoUpdate
void SetAutoUpdate(bool value)
Definition: ActivateTypeRequest.h:367
Aws::CloudFormation::Model::ActivateTypeRequest::MajorVersionHasBeenSet
bool MajorVersionHasBeenSet() const
Definition: ActivateTypeRequest.h:515
Aws::CloudFormation::Model::ActivateTypeRequest::SetExecutionRoleArn
void SetExecutionRoleArn(const Aws::String &value)
Definition: ActivateTypeRequest.h:410
Aws::CloudFormation::Model::ActivateTypeRequest::WithVersionBump
ActivateTypeRequest & WithVersionBump(VersionBump &&value)
Definition: ActivateTypeRequest.h:496
Aws::CloudFormation::Model::ActivateTypeRequest::SetTypeName
void SetTypeName(Aws::String &&value)
Definition: ActivateTypeRequest.h:225
Aws::CloudFormation::Model::ActivateTypeRequest::GetAutoUpdate
bool GetAutoUpdate() const
Definition: ActivateTypeRequest.h:351
Aws::CloudFormation::Model::ActivateTypeRequest::TypeNameHasBeenSet
bool TypeNameHasBeenSet() const
Definition: ActivateTypeRequest.h:211
VersionBump.h
Aws::CloudFormation::Model::ActivateTypeRequest::SetVersionBump
void SetVersionBump(VersionBump &&value)
Definition: ActivateTypeRequest.h:476
Aws::CloudFormation::Model::ActivateTypeRequest::GetType
const ThirdPartyType & GetType() const
Definition: ActivateTypeRequest.h:47
Aws::CloudFormation::Model::ActivateTypeRequest::SetExecutionRoleArn
void SetExecutionRoleArn(const char *value)
Definition: ActivateTypeRequest.h:420