AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportContext.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LicenseManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LICENSEMANAGER_API ReportContext();
37 AWS_LICENSEMANAGER_API ReportContext(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGER_API ReportContext& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetLicenseConfigurationArns() const{ return m_licenseConfigurationArns; }
48 inline bool LicenseConfigurationArnsHasBeenSet() const { return m_licenseConfigurationArnsHasBeenSet; }
49 inline void SetLicenseConfigurationArns(const Aws::Vector<Aws::String>& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns = value; }
50 inline void SetLicenseConfigurationArns(Aws::Vector<Aws::String>&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns = std::move(value); }
53 inline ReportContext& AddLicenseConfigurationArns(const Aws::String& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(value); return *this; }
54 inline ReportContext& AddLicenseConfigurationArns(Aws::String&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(std::move(value)); return *this; }
55 inline ReportContext& AddLicenseConfigurationArns(const char* value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_licenseConfigurationArns;
60 bool m_licenseConfigurationArnsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace LicenseManager
65} // namespace Aws
AWS_LICENSEMANAGER_API ReportContext()
void SetLicenseConfigurationArns(const Aws::Vector< Aws::String > &value)
AWS_LICENSEMANAGER_API ReportContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseConfigurationArns(Aws::Vector< Aws::String > &&value)
ReportContext & WithLicenseConfigurationArns(const Aws::Vector< Aws::String > &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ReportContext & WithLicenseConfigurationArns(Aws::Vector< Aws::String > &&value)
ReportContext & AddLicenseConfigurationArns(const char *value)
ReportContext & AddLicenseConfigurationArns(const Aws::String &value)
AWS_LICENSEMANAGER_API ReportContext(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLicenseConfigurationArns() const
ReportContext & AddLicenseConfigurationArns(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