AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SalesforceAction.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API SalesforceAction() = default;
39
40
42
47 inline const Aws::String& GetToken() const { return m_token; }
48 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
49 template<typename TokenT = Aws::String>
50 void SetToken(TokenT&& value) { m_tokenHasBeenSet = true; m_token = std::forward<TokenT>(value); }
51 template<typename TokenT = Aws::String>
52 SalesforceAction& WithToken(TokenT&& value) { SetToken(std::forward<TokenT>(value)); return *this;}
54
56
61 inline const Aws::String& GetUrl() const { return m_url; }
62 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
63 template<typename UrlT = Aws::String>
64 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
65 template<typename UrlT = Aws::String>
66 SalesforceAction& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
68 private:
69
70 Aws::String m_token;
71 bool m_tokenHasBeenSet = false;
72
73 Aws::String m_url;
74 bool m_urlHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
AWS_IOT_API SalesforceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceAction & WithUrl(UrlT &&value)
AWS_IOT_API SalesforceAction(Aws::Utils::Json::JsonView jsonValue)
SalesforceAction & WithToken(TokenT &&value)
const Aws::String & GetToken() const
AWS_IOT_API SalesforceAction()=default
const Aws::String & GetUrl() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue