AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsCloudFrontDistributionOrigins.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsCloudFrontDistributionOriginItem.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsCloudFrontDistributionOrigins();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<AwsCloudFrontDistributionOriginItem>& GetItems() const{ return m_items; }
48 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
49 inline void SetItems(const Aws::Vector<AwsCloudFrontDistributionOriginItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
50 inline void SetItems(Aws::Vector<AwsCloudFrontDistributionOriginItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
53 inline AwsCloudFrontDistributionOrigins& AddItems(const AwsCloudFrontDistributionOriginItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
54 inline AwsCloudFrontDistributionOrigins& AddItems(AwsCloudFrontDistributionOriginItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_itemsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SecurityHub
64} // namespace Aws
AwsCloudFrontDistributionOrigins & AddItems(AwsCloudFrontDistributionOriginItem &&value)
void SetItems(const Aws::Vector< AwsCloudFrontDistributionOriginItem > &value)
AwsCloudFrontDistributionOrigins & WithItems(const Aws::Vector< AwsCloudFrontDistributionOriginItem > &value)
void SetItems(Aws::Vector< AwsCloudFrontDistributionOriginItem > &&value)
AWS_SECURITYHUB_API AwsCloudFrontDistributionOrigins & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionOrigins & AddItems(const AwsCloudFrontDistributionOriginItem &value)
const Aws::Vector< AwsCloudFrontDistributionOriginItem > & GetItems() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsCloudFrontDistributionOrigins(Aws::Utils::Json::JsonView jsonValue)
AwsCloudFrontDistributionOrigins & WithItems(Aws::Vector< AwsCloudFrontDistributionOriginItem > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue