AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LicenseConfigurationArnT = Aws::String>
48 void SetLicenseConfigurationArn(LicenseConfigurationArnT&& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value); }
49 template<typename LicenseConfigurationArnT = Aws::String>
50 LicenseSpecification& WithLicenseConfigurationArn(LicenseConfigurationArnT&& value) { SetLicenseConfigurationArn(std::forward<LicenseConfigurationArnT>(value)); return *this;}
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) { m_amiAssociationScopeHasBeenSet = true; m_amiAssociationScope = std::forward<AmiAssociationScopeT>(value); }
62 template<typename AmiAssociationScopeT = Aws::String>
63 LicenseSpecification& WithAmiAssociationScope(AmiAssociationScopeT&& value) { SetAmiAssociationScope(std::forward<AmiAssociationScopeT>(value)); return *this;}
65 private:
66
67 Aws::String m_licenseConfigurationArn;
68 bool m_licenseConfigurationArnHasBeenSet = false;
69
70 Aws::String m_amiAssociationScope;
71 bool m_amiAssociationScopeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LicenseManager
76} // 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