AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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