AWS SDK for C++  1.9.109
AWS SDK for C++
AwsCloudFrontDistributionOriginGroup.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const AwsCloudFrontDistributionOriginGroupFailover& GetFailoverCriteria() const{ return m_failoverCriteria; }
45 
49  inline bool FailoverCriteriaHasBeenSet() const { return m_failoverCriteriaHasBeenSet; }
50 
54  inline void SetFailoverCriteria(const AwsCloudFrontDistributionOriginGroupFailover& value) { m_failoverCriteriaHasBeenSet = true; m_failoverCriteria = value; }
55 
59  inline void SetFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover&& value) { m_failoverCriteriaHasBeenSet = true; m_failoverCriteria = std::move(value); }
60 
64  inline AwsCloudFrontDistributionOriginGroup& WithFailoverCriteria(const AwsCloudFrontDistributionOriginGroupFailover& value) { SetFailoverCriteria(value); return *this;}
65 
69  inline AwsCloudFrontDistributionOriginGroup& WithFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover&& value) { SetFailoverCriteria(std::move(value)); return *this;}
70 
71  private:
72 
74  bool m_failoverCriteriaHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace SecurityHub
79 } // namespace Aws
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::WithFailoverCriteria
AwsCloudFrontDistributionOriginGroup & WithFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover &&value)
Definition: AwsCloudFrontDistributionOriginGroup.h:69
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::WithFailoverCriteria
AwsCloudFrontDistributionOriginGroup & WithFailoverCriteria(const AwsCloudFrontDistributionOriginGroupFailover &value)
Definition: AwsCloudFrontDistributionOriginGroup.h:64
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup
Definition: AwsCloudFrontDistributionOriginGroup.h:33
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::SetFailoverCriteria
void SetFailoverCriteria(const AwsCloudFrontDistributionOriginGroupFailover &value)
Definition: AwsCloudFrontDistributionOriginGroup.h:54
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::SetFailoverCriteria
void SetFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover &&value)
Definition: AwsCloudFrontDistributionOriginGroup.h:59
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::AwsCloudFrontDistributionOriginGroup
AwsCloudFrontDistributionOriginGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::FailoverCriteriaHasBeenSet
bool FailoverCriteriaHasBeenSet() const
Definition: AwsCloudFrontDistributionOriginGroup.h:49
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroupFailover
Definition: AwsCloudFrontDistributionOriginGroupFailover.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AwsCloudFrontDistributionOriginGroupFailover.h
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::AwsCloudFrontDistributionOriginGroup
AwsCloudFrontDistributionOriginGroup()
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::GetFailoverCriteria
const AwsCloudFrontDistributionOriginGroupFailover & GetFailoverCriteria() const
Definition: AwsCloudFrontDistributionOriginGroup.h:44
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsCloudFrontDistributionOriginGroup::operator=
AwsCloudFrontDistributionOriginGroup & operator=(Aws::Utils::Json::JsonView jsonValue)