AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::ClusterSetting Class Reference

#include <ClusterSetting.h>

Public Member Functions

 ClusterSetting ()
 
 ClusterSetting (Aws::Utils::Json::JsonView jsonValue)
 
ClusterSettingoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ClusterSettingNameGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const ClusterSettingName &value)
 
void SetName (ClusterSettingName &&value)
 
ClusterSettingWithName (const ClusterSettingName &value)
 
ClusterSettingWithName (ClusterSettingName &&value)
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
ClusterSettingWithValue (const Aws::String &value)
 
ClusterSettingWithValue (Aws::String &&value)
 
ClusterSettingWithValue (const char *value)
 

Detailed Description

The settings to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster.

See Also:

AWS API Reference

Definition at line 33 of file ClusterSetting.h.

Constructor & Destructor Documentation

◆ ClusterSetting() [1/2]

Aws::ECS::Model::ClusterSetting::ClusterSetting ( )

◆ ClusterSetting() [2/2]

Aws::ECS::Model::ClusterSetting::ClusterSetting ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetName()

const ClusterSettingName& Aws::ECS::Model::ClusterSetting::GetName ( ) const
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 46 of file ClusterSetting.h.

◆ GetValue()

const Aws::String& Aws::ECS::Model::ClusterSetting::GetValue ( ) const
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 88 of file ClusterSetting.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::ClusterSetting::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::ECS::Model::ClusterSetting::NameHasBeenSet ( ) const
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 52 of file ClusterSetting.h.

◆ operator=()

ClusterSetting& Aws::ECS::Model::ClusterSetting::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetName() [1/2]

void Aws::ECS::Model::ClusterSetting::SetName ( const ClusterSettingName value)
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 58 of file ClusterSetting.h.

◆ SetName() [2/2]

void Aws::ECS::Model::ClusterSetting::SetName ( ClusterSettingName &&  value)
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 64 of file ClusterSetting.h.

◆ SetValue() [1/3]

void Aws::ECS::Model::ClusterSetting::SetValue ( const Aws::String value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 110 of file ClusterSetting.h.

◆ SetValue() [2/3]

void Aws::ECS::Model::ClusterSetting::SetValue ( Aws::String &&  value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 121 of file ClusterSetting.h.

◆ SetValue() [3/3]

void Aws::ECS::Model::ClusterSetting::SetValue ( const char *  value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 132 of file ClusterSetting.h.

◆ ValueHasBeenSet()

bool Aws::ECS::Model::ClusterSetting::ValueHasBeenSet ( ) const
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 99 of file ClusterSetting.h.

◆ WithName() [1/2]

ClusterSetting& Aws::ECS::Model::ClusterSetting::WithName ( const ClusterSettingName value)
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 70 of file ClusterSetting.h.

◆ WithName() [2/2]

ClusterSetting& Aws::ECS::Model::ClusterSetting::WithName ( ClusterSettingName &&  value)
inline

The name of the cluster setting. The only supported value is containerInsights.

Definition at line 76 of file ClusterSetting.h.

◆ WithValue() [1/3]

ClusterSetting& Aws::ECS::Model::ClusterSetting::WithValue ( const Aws::String value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 143 of file ClusterSetting.h.

◆ WithValue() [2/3]

ClusterSetting& Aws::ECS::Model::ClusterSetting::WithValue ( Aws::String &&  value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 154 of file ClusterSetting.h.

◆ WithValue() [3/3]

ClusterSetting& Aws::ECS::Model::ClusterSetting::WithValue ( const char *  value)
inline

The value to set for the cluster setting. The supported values are enabled and disabled. If enabled is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights account setting is enabled. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.

Definition at line 165 of file ClusterSetting.h.


The documentation for this class was generated from the following file: