AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LinuxSubscriptionsDiscoverySettings.h
1
6#pragma once
7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_EXPORTS.h>
8#include <aws/license-manager-linux-subscriptions/model/OrganizationIntegration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LicenseManagerLinuxSubscriptions
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LinuxSubscriptionsDiscoverySettings();
38 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LinuxSubscriptionsDiscoverySettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LinuxSubscriptionsDiscoverySettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const OrganizationIntegration& GetOrganizationIntegration() const{ return m_organizationIntegration; }
49 inline bool OrganizationIntegrationHasBeenSet() const { return m_organizationIntegrationHasBeenSet; }
50 inline void SetOrganizationIntegration(const OrganizationIntegration& value) { m_organizationIntegrationHasBeenSet = true; m_organizationIntegration = value; }
51 inline void SetOrganizationIntegration(OrganizationIntegration&& value) { m_organizationIntegrationHasBeenSet = true; m_organizationIntegration = std::move(value); }
55
57
60 inline const Aws::Vector<Aws::String>& GetSourceRegions() const{ return m_sourceRegions; }
61 inline bool SourceRegionsHasBeenSet() const { return m_sourceRegionsHasBeenSet; }
62 inline void SetSourceRegions(const Aws::Vector<Aws::String>& value) { m_sourceRegionsHasBeenSet = true; m_sourceRegions = value; }
63 inline void SetSourceRegions(Aws::Vector<Aws::String>&& value) { m_sourceRegionsHasBeenSet = true; m_sourceRegions = std::move(value); }
66 inline LinuxSubscriptionsDiscoverySettings& AddSourceRegions(const Aws::String& value) { m_sourceRegionsHasBeenSet = true; m_sourceRegions.push_back(value); return *this; }
67 inline LinuxSubscriptionsDiscoverySettings& AddSourceRegions(Aws::String&& value) { m_sourceRegionsHasBeenSet = true; m_sourceRegions.push_back(std::move(value)); return *this; }
68 inline LinuxSubscriptionsDiscoverySettings& AddSourceRegions(const char* value) { m_sourceRegionsHasBeenSet = true; m_sourceRegions.push_back(value); return *this; }
70 private:
71
72 OrganizationIntegration m_organizationIntegration;
73 bool m_organizationIntegrationHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_sourceRegions;
76 bool m_sourceRegionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace LicenseManagerLinuxSubscriptions
81} // namespace Aws
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LinuxSubscriptionsDiscoverySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LinuxSubscriptionsDiscoverySettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
LinuxSubscriptionsDiscoverySettings & WithSourceRegions(const Aws::Vector< Aws::String > &value)
LinuxSubscriptionsDiscoverySettings & WithOrganizationIntegration(OrganizationIntegration &&value)
LinuxSubscriptionsDiscoverySettings & WithOrganizationIntegration(const OrganizationIntegration &value)
LinuxSubscriptionsDiscoverySettings & WithSourceRegions(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue