AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LicenseConfigurationArnsT = Aws::Vector<Aws::String>>
50 void SetLicenseConfigurationArns(LicenseConfigurationArnsT&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns = std::forward<LicenseConfigurationArnsT>(value); }
51 template<typename LicenseConfigurationArnsT = Aws::Vector<Aws::String>>
52 ReportContext& WithLicenseConfigurationArns(LicenseConfigurationArnsT&& value) { SetLicenseConfigurationArns(std::forward<LicenseConfigurationArnsT>(value)); return *this;}
53 template<typename LicenseConfigurationArnsT = Aws::String>
54 ReportContext& AddLicenseConfigurationArns(LicenseConfigurationArnsT&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.emplace_back(std::forward<LicenseConfigurationArnsT>(value)); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_licenseConfigurationArns;
59 bool m_licenseConfigurationArnsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace LicenseManager
64} // namespace Aws
void SetLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
AWS_LICENSEMANAGER_API ReportContext()=default
ReportContext & WithLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
AWS_LICENSEMANAGER_API ReportContext & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportContext & AddLicenseConfigurationArns(LicenseConfigurationArnsT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ReportContext(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLicenseConfigurationArns() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue