AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LicenseConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28 public:
29 AWS_EC2_API LicenseConfiguration() = default;
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const Aws::String& GetLicenseConfigurationArn() const { return m_licenseConfigurationArn; }
41 inline bool LicenseConfigurationArnHasBeenSet() const { return m_licenseConfigurationArnHasBeenSet; }
42 template <typename LicenseConfigurationArnT = Aws::String>
43 void SetLicenseConfigurationArn(LicenseConfigurationArnT&& value) {
44 m_licenseConfigurationArnHasBeenSet = true;
45 m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value);
46 }
47 template <typename LicenseConfigurationArnT = Aws::String>
48 LicenseConfiguration& WithLicenseConfigurationArn(LicenseConfigurationArnT&& value) {
49 SetLicenseConfigurationArn(std::forward<LicenseConfigurationArnT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_licenseConfigurationArn;
55 bool m_licenseConfigurationArnHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace EC2
60} // namespace Aws
const Aws::String & GetLicenseConfigurationArn() const
LicenseConfiguration & WithLicenseConfigurationArn(LicenseConfigurationArnT &&value)
AWS_EC2_API LicenseConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API LicenseConfiguration()=default
void SetLicenseConfigurationArn(LicenseConfigurationArnT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API LicenseConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream