AWS SDK for C++  1.9.132
AWS SDK for C++
SalesforceAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetToken() const{ return m_token; }
47 
53  inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
54 
60  inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
61 
67  inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
68 
74  inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
75 
81  inline SalesforceAction& WithToken(const Aws::String& value) { SetToken(value); return *this;}
82 
88  inline SalesforceAction& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
89 
95  inline SalesforceAction& WithToken(const char* value) { SetToken(value); return *this;}
96 
97 
103  inline const Aws::String& GetUrl() const{ return m_url; }
104 
110  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
111 
117  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
118 
124  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
125 
131  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
132 
138  inline SalesforceAction& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
139 
145  inline SalesforceAction& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
146 
152  inline SalesforceAction& WithUrl(const char* value) { SetUrl(value); return *this;}
153 
154  private:
155 
156  Aws::String m_token;
157  bool m_tokenHasBeenSet;
158 
159  Aws::String m_url;
160  bool m_urlHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace IoT
165 } // namespace Aws
Aws::IoT::Model::SalesforceAction::operator=
SalesforceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SalesforceAction::WithUrl
SalesforceAction & WithUrl(const Aws::String &value)
Definition: SalesforceAction.h:138
Aws::IoT::Model::SalesforceAction::SalesforceAction
SalesforceAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SalesforceAction::SetToken
void SetToken(Aws::String &&value)
Definition: SalesforceAction.h:67
Aws::IoT::Model::SalesforceAction::GetToken
const Aws::String & GetToken() const
Definition: SalesforceAction.h:46
Aws::IoT::Model::SalesforceAction::SetUrl
void SetUrl(Aws::String &&value)
Definition: SalesforceAction.h:124
Aws::IoT::Model::SalesforceAction::SalesforceAction
SalesforceAction()
Aws::IoT::Model::SalesforceAction::GetUrl
const Aws::String & GetUrl() const
Definition: SalesforceAction.h:103
Aws::IoT::Model::SalesforceAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::SalesforceAction::SetToken
void SetToken(const char *value)
Definition: SalesforceAction.h:74
Aws::IoT::Model::SalesforceAction::WithToken
SalesforceAction & WithToken(const char *value)
Definition: SalesforceAction.h:95
Aws::IoT::Model::SalesforceAction::TokenHasBeenSet
bool TokenHasBeenSet() const
Definition: SalesforceAction.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::SalesforceAction::WithToken
SalesforceAction & WithToken(const Aws::String &value)
Definition: SalesforceAction.h:81
Aws::IoT::Model::SalesforceAction::SetUrl
void SetUrl(const Aws::String &value)
Definition: SalesforceAction.h:117
Aws::IoT::Model::SalesforceAction
Definition: SalesforceAction.h:33
Aws::IoT::Model::SalesforceAction::WithUrl
SalesforceAction & WithUrl(const char *value)
Definition: SalesforceAction.h:152
Aws::IoT::Model::SalesforceAction::SetUrl
void SetUrl(const char *value)
Definition: SalesforceAction.h:131
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::SalesforceAction::WithToken
SalesforceAction & WithToken(Aws::String &&value)
Definition: SalesforceAction.h:88
Aws::IoT::Model::SalesforceAction::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: SalesforceAction.h:110
Aws::IoT::Model::SalesforceAction::SetToken
void SetToken(const Aws::String &value)
Definition: SalesforceAction.h:60
Aws::IoT::Model::SalesforceAction::WithUrl
SalesforceAction & WithUrl(Aws::String &&value)
Definition: SalesforceAction.h:145
IoT_EXPORTS.h