AWS SDK for C++  1.9.159
AWS SDK for C++
RouteFilterPrefix.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 DirectConnect
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetCidr() const{ return m_cidr; }
47 
52  inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; }
53 
58  inline void SetCidr(const Aws::String& value) { m_cidrHasBeenSet = true; m_cidr = value; }
59 
64  inline void SetCidr(Aws::String&& value) { m_cidrHasBeenSet = true; m_cidr = std::move(value); }
65 
70  inline void SetCidr(const char* value) { m_cidrHasBeenSet = true; m_cidr.assign(value); }
71 
76  inline RouteFilterPrefix& WithCidr(const Aws::String& value) { SetCidr(value); return *this;}
77 
82  inline RouteFilterPrefix& WithCidr(Aws::String&& value) { SetCidr(std::move(value)); return *this;}
83 
88  inline RouteFilterPrefix& WithCidr(const char* value) { SetCidr(value); return *this;}
89 
90  private:
91 
92  Aws::String m_cidr;
93  bool m_cidrHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace DirectConnect
98 } // namespace Aws
Aws::DirectConnect::Model::RouteFilterPrefix::WithCidr
RouteFilterPrefix & WithCidr(const char *value)
Definition: RouteFilterPrefix.h:88
Aws::DirectConnect::Model::RouteFilterPrefix::WithCidr
RouteFilterPrefix & WithCidr(Aws::String &&value)
Definition: RouteFilterPrefix.h:82
Aws::DirectConnect::Model::RouteFilterPrefix::SetCidr
void SetCidr(const char *value)
Definition: RouteFilterPrefix.h:70
Aws::DirectConnect::Model::RouteFilterPrefix::RouteFilterPrefix
RouteFilterPrefix(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectConnect::Model::RouteFilterPrefix::SetCidr
void SetCidr(Aws::String &&value)
Definition: RouteFilterPrefix.h:64
Aws::DirectConnect::Model::RouteFilterPrefix::GetCidr
const Aws::String & GetCidr() const
Definition: RouteFilterPrefix.h:46
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::RouteFilterPrefix::SetCidr
void SetCidr(const Aws::String &value)
Definition: RouteFilterPrefix.h:58
Aws::DirectConnect::Model::RouteFilterPrefix::WithCidr
RouteFilterPrefix & WithCidr(const Aws::String &value)
Definition: RouteFilterPrefix.h:76
Aws::DirectConnect::Model::RouteFilterPrefix::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DirectConnect::Model::RouteFilterPrefix::CidrHasBeenSet
bool CidrHasBeenSet() const
Definition: RouteFilterPrefix.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DirectConnect::Model::RouteFilterPrefix
Definition: RouteFilterPrefix.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectConnect::Model::RouteFilterPrefix::RouteFilterPrefix
RouteFilterPrefix()
Aws::DirectConnect::Model::RouteFilterPrefix::operator=
RouteFilterPrefix & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28