AWS SDK for C++  0.14.3
AWS SDK for C++
AgentsFilter.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace Inspector
30 {
31 namespace Model
32 {
33 
39  {
40  public:
41  AgentsFilter();
42  AgentsFilter(const Aws::Utils::Json::JsonValue& jsonValue);
43  AgentsFilter& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
51  inline const Aws::Vector<Aws::String>& GetAgentHealthList() const{ return m_agentHealthList; }
52 
58  inline void SetAgentHealthList(const Aws::Vector<Aws::String>& value) { m_agentHealthListHasBeenSet = true; m_agentHealthList = value; }
59 
65  inline void SetAgentHealthList(Aws::Vector<Aws::String>&& value) { m_agentHealthListHasBeenSet = true; m_agentHealthList = value; }
66 
72  inline AgentsFilter& WithAgentHealthList(const Aws::Vector<Aws::String>& value) { SetAgentHealthList(value); return *this;}
73 
79  inline AgentsFilter& WithAgentHealthList(Aws::Vector<Aws::String>&& value) { SetAgentHealthList(value); return *this;}
80 
86  inline AgentsFilter& AddAgentHealthList(const Aws::String& value) { m_agentHealthListHasBeenSet = true; m_agentHealthList.push_back(value); return *this; }
87 
93  inline AgentsFilter& AddAgentHealthList(Aws::String&& value) { m_agentHealthListHasBeenSet = true; m_agentHealthList.push_back(value); return *this; }
94 
100  inline AgentsFilter& AddAgentHealthList(const char* value) { m_agentHealthListHasBeenSet = true; m_agentHealthList.push_back(value); return *this; }
101 
102  private:
103  Aws::Vector<Aws::String> m_agentHealthList;
104  bool m_agentHealthListHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace Inspector
109 } // namespace Aws
AgentsFilter & AddAgentHealthList(Aws::String &&value)
Definition: AgentsFilter.h:93
#define AWS_INSPECTOR_API
AgentsFilter & WithAgentHealthList(Aws::Vector< Aws::String > &&value)
Definition: AgentsFilter.h:79
void SetAgentHealthList(const Aws::Vector< Aws::String > &value)
Definition: AgentsFilter.h:58
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetAgentHealthList(Aws::Vector< Aws::String > &&value)
Definition: AgentsFilter.h:65
AgentsFilter & AddAgentHealthList(const Aws::String &value)
Definition: AgentsFilter.h:86
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Vector< Aws::String > & GetAgentHealthList() const
Definition: AgentsFilter.h:51
AgentsFilter & AddAgentHealthList(const char *value)
Definition: AgentsFilter.h:100
AgentsFilter & WithAgentHealthList(const Aws::Vector< Aws::String > &value)
Definition: AgentsFilter.h:72
JSON (JavaScript Object Notation).