AWS SDK for C++  1.9.109
AWS SDK for C++
AwsCloudFrontDistributionCacheBehaviors.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SecurityHub
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<AwsCloudFrontDistributionCacheBehavior>& GetItems() const{ return m_items; }
46 
50  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
51 
55  inline void SetItems(const Aws::Vector<AwsCloudFrontDistributionCacheBehavior>& value) { m_itemsHasBeenSet = true; m_items = value; }
56 
60  inline void SetItems(Aws::Vector<AwsCloudFrontDistributionCacheBehavior>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
61 
66 
71 
75  inline AwsCloudFrontDistributionCacheBehaviors& AddItems(const AwsCloudFrontDistributionCacheBehavior& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
76 
80  inline AwsCloudFrontDistributionCacheBehaviors& AddItems(AwsCloudFrontDistributionCacheBehavior&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
81 
82  private:
83 
85  bool m_itemsHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace SecurityHub
90 } // namespace Aws
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::SetItems
void SetItems(const Aws::Vector< AwsCloudFrontDistributionCacheBehavior > &value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:55
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors
Definition: AwsCloudFrontDistributionCacheBehaviors.h:34
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::WithItems
AwsCloudFrontDistributionCacheBehaviors & WithItems(Aws::Vector< AwsCloudFrontDistributionCacheBehavior > &&value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:70
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::WithItems
AwsCloudFrontDistributionCacheBehaviors & WithItems(const Aws::Vector< AwsCloudFrontDistributionCacheBehavior > &value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:65
AwsCloudFrontDistributionCacheBehavior.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::AddItems
AwsCloudFrontDistributionCacheBehaviors & AddItems(AwsCloudFrontDistributionCacheBehavior &&value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:80
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::AddItems
AwsCloudFrontDistributionCacheBehaviors & AddItems(const AwsCloudFrontDistributionCacheBehavior &value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:75
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::GetItems
const Aws::Vector< AwsCloudFrontDistributionCacheBehavior > & GetItems() const
Definition: AwsCloudFrontDistributionCacheBehaviors.h:45
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::SetItems
void SetItems(Aws::Vector< AwsCloudFrontDistributionCacheBehavior > &&value)
Definition: AwsCloudFrontDistributionCacheBehaviors.h:60
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::AwsCloudFrontDistributionCacheBehaviors
AwsCloudFrontDistributionCacheBehaviors(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior
Definition: AwsCloudFrontDistributionCacheBehavior.h:33
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: AwsCloudFrontDistributionCacheBehaviors.h:50
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::operator=
AwsCloudFrontDistributionCacheBehaviors & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehaviors::AwsCloudFrontDistributionCacheBehaviors
AwsCloudFrontDistributionCacheBehaviors()