AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LicenseSpecification.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LicenseManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LICENSEMANAGER_API LicenseSpecification();
36 AWS_LICENSEMANAGER_API LicenseSpecification(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGER_API LicenseSpecification& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLicenseConfigurationArn() const{ return m_licenseConfigurationArn; }
46 inline bool LicenseConfigurationArnHasBeenSet() const { return m_licenseConfigurationArnHasBeenSet; }
47 inline void SetLicenseConfigurationArn(const Aws::String& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = value; }
48 inline void SetLicenseConfigurationArn(Aws::String&& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = std::move(value); }
49 inline void SetLicenseConfigurationArn(const char* value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn.assign(value); }
52 inline LicenseSpecification& WithLicenseConfigurationArn(const char* value) { SetLicenseConfigurationArn(value); return *this;}
54
56
60 inline const Aws::String& GetAmiAssociationScope() const{ return m_amiAssociationScope; }
61 inline bool AmiAssociationScopeHasBeenSet() const { return m_amiAssociationScopeHasBeenSet; }
62 inline void SetAmiAssociationScope(const Aws::String& value) { m_amiAssociationScopeHasBeenSet = true; m_amiAssociationScope = value; }
63 inline void SetAmiAssociationScope(Aws::String&& value) { m_amiAssociationScopeHasBeenSet = true; m_amiAssociationScope = std::move(value); }
64 inline void SetAmiAssociationScope(const char* value) { m_amiAssociationScopeHasBeenSet = true; m_amiAssociationScope.assign(value); }
66 inline LicenseSpecification& WithAmiAssociationScope(Aws::String&& value) { SetAmiAssociationScope(std::move(value)); return *this;}
67 inline LicenseSpecification& WithAmiAssociationScope(const char* value) { SetAmiAssociationScope(value); return *this;}
69 private:
70
71 Aws::String m_licenseConfigurationArn;
72 bool m_licenseConfigurationArnHasBeenSet = false;
73
74 Aws::String m_amiAssociationScope;
75 bool m_amiAssociationScopeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace LicenseManager
80} // namespace Aws
LicenseSpecification & WithLicenseConfigurationArn(Aws::String &&value)
void SetLicenseConfigurationArn(const Aws::String &value)
AWS_LICENSEMANAGER_API LicenseSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API LicenseSpecification(Aws::Utils::Json::JsonView jsonValue)
LicenseSpecification & WithLicenseConfigurationArn(const Aws::String &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseSpecification & WithAmiAssociationScope(const char *value)
LicenseSpecification & WithAmiAssociationScope(Aws::String &&value)
LicenseSpecification & WithAmiAssociationScope(const Aws::String &value)
LicenseSpecification & WithLicenseConfigurationArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue