AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceSettingsRequest.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/LicenseManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/OrganizationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LicenseManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LICENSEMANAGER_API UpdateServiceSettingsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceSettings"; }
32
33 AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override;
34
35 AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; }
44 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
45 inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; }
46 inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); }
47 inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); }
48 inline UpdateServiceSettingsRequest& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;}
49 inline UpdateServiceSettingsRequest& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;}
50 inline UpdateServiceSettingsRequest& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;}
52
54
58 inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
59 inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; }
60 inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = value; }
61 inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn = std::move(value); }
62 inline void SetSnsTopicArn(const char* value) { m_snsTopicArnHasBeenSet = true; m_snsTopicArn.assign(value); }
63 inline UpdateServiceSettingsRequest& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
64 inline UpdateServiceSettingsRequest& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
65 inline UpdateServiceSettingsRequest& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
67
69
72 inline const OrganizationConfiguration& GetOrganizationConfiguration() const{ return m_organizationConfiguration; }
73 inline bool OrganizationConfigurationHasBeenSet() const { return m_organizationConfigurationHasBeenSet; }
74 inline void SetOrganizationConfiguration(const OrganizationConfiguration& value) { m_organizationConfigurationHasBeenSet = true; m_organizationConfiguration = value; }
75 inline void SetOrganizationConfiguration(OrganizationConfiguration&& value) { m_organizationConfigurationHasBeenSet = true; m_organizationConfiguration = std::move(value); }
79
81
84 inline bool GetEnableCrossAccountsDiscovery() const{ return m_enableCrossAccountsDiscovery; }
85 inline bool EnableCrossAccountsDiscoveryHasBeenSet() const { return m_enableCrossAccountsDiscoveryHasBeenSet; }
86 inline void SetEnableCrossAccountsDiscovery(bool value) { m_enableCrossAccountsDiscoveryHasBeenSet = true; m_enableCrossAccountsDiscovery = value; }
89 private:
90
91 Aws::String m_s3BucketArn;
92 bool m_s3BucketArnHasBeenSet = false;
93
94 Aws::String m_snsTopicArn;
95 bool m_snsTopicArnHasBeenSet = false;
96
97 OrganizationConfiguration m_organizationConfiguration;
98 bool m_organizationConfigurationHasBeenSet = false;
99
100 bool m_enableCrossAccountsDiscovery;
101 bool m_enableCrossAccountsDiscoveryHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LicenseManager
106} // namespace Aws
UpdateServiceSettingsRequest & WithSnsTopicArn(Aws::String &&value)
void SetOrganizationConfiguration(const OrganizationConfiguration &value)
UpdateServiceSettingsRequest & WithS3BucketArn(const char *value)
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
const OrganizationConfiguration & GetOrganizationConfiguration() const
UpdateServiceSettingsRequest & WithS3BucketArn(Aws::String &&value)
UpdateServiceSettingsRequest & WithSnsTopicArn(const Aws::String &value)
UpdateServiceSettingsRequest & WithSnsTopicArn(const char *value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateServiceSettingsRequest & WithOrganizationConfiguration(OrganizationConfiguration &&value)
UpdateServiceSettingsRequest & WithEnableCrossAccountsDiscovery(bool value)
UpdateServiceSettingsRequest & WithS3BucketArn(const Aws::String &value)
UpdateServiceSettingsRequest & WithOrganizationConfiguration(const OrganizationConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String